When running the sonar prepare analysis task from classic-sonar-scanner-msbuild version 4.17, it is hitting the sonar server & performing all required operations like Fetching analysis configuration settings, Provisioning analyser assemblies for cs, Installing required Roslyn analyser.
And we we trigger the same from 4.18 & 4.19 versions, its not at all hitting the sonar server. It just creates the conf,out directory and does nothing.
Note: The same behavior is happening from Azure & command prompt execution. Using the same user account for all the versions mentioned here.
what are the commands you are running to do the analysis?
It looks to me that only the begin step is executed. Can you please follow the steps from SonarScanner for .NET | SonarQube Docs and run the project build and end step too?