The analysis configuration file could not be found

Hello,

I am a newbie to SonarQube and I am encountering the following issues. I hope you can help me resolve the problem.

I have a VB.Net project and I am trying to connect this project to a SonarQube server running on localhost. I executed the following commands:

  • SonarScanner.MSBuild.exe begin /k:"DamControlSystem" /d:sonar.host.url="http://localhost:9000" /d:sonar.login="sqp_253f4d4c2d1721df507b85f3d958ccee04b0e1eb"
  • MsBuild.exe /t:Rebuild
  • SonarScanner.MSBuild.exe end /d:sonar.login="sqp_253f4d4c2d1721df507b85f3d958ccee04b0e1eb"

However, I encounter the following error:

D:\VBS\20240724\DamControlSystem\VBS\main\crt\DamControlSystem> SonarScanner.MSBuild.exe end /d:sonar.login=“sqp_253f4d4c2d1721df507b85f3d958ccee04b0e1eb”
SonarScanner for MSBuild 6.2
Using the .NET Framework version of the Scanner for MSBuild
Post-processing started.
09:56:16.473 SonarQube analysis could not be completed because the analysis configuration file could not be found: D:\VBS\20240724\DamControlSystem\VBS\main\crt\DamControlSystem.sonarqube\conf\SonarQubeAnalysisConfig.xml.
09:56:16.473 Post-processing failed. Exit code: 1

Can you help me resolve this error? Thank you, and sorry for my broken English.

Hey there.

Typically this error means something went wrong in SonarScanner.MSBuild.exe begin. Can you share the log output from that step?