Sonar scan issues while building .NET

SonarScanner for MSBuild 5.3.1
Using the .NET Core version of the Scanner for MSBuild
Pre-processing started.
Preparing working directories…
15:16:17.817 Updating build integration targets…
15:16:18.11 Fetching analysis configuration settings…
15:16:18.438 Provisioning analyzer assemblies for cs…
15:16:18.439 Installing required Roslyn analyzers…
15:16:18.735 Provisioning analyzer assemblies for vbnet…
15:16:18.735 Installing required Roslyn analyzers…
15:16:18.768 Pre-processing succeeded.
[Pipeline] }
WARN: Unable to locate ‘report-task.txt’ in the workspace. Did the SonarScanner succeede

Hello @bhavana_k and welcome to the community!

  • what is the version of SonarQube that you are using?
  • what is the version of the C# plugin?
  • what are the commands you are running to do the analysis?
  • are you running all commands from the same folder?
  • what is the version of MSBuild you are using?
  • please give us the verbose output of the command (please run SonarScanner.MSBuild.exe begin /k:“MyProject” /d:sonar.verbose=true as the begin step, and please attach the output of the BEGIN and END steps)
  • please give the output of running MSBuild

This topic was automatically closed after 10 days. New replies are no longer allowed.