SonarQube Analysis Error: Generation of the sonar-properties file failed

Hi all,
I’m currently using SonarQube Community Edition (version 8.9.6) to run an analysis from my local PC. I’ve successfully completed 1st and 2nd command.

1st command:

C:/SQ/sonar-scanner-msbuild- begin /k:"TestApp" /"myURL" /d:sonar.login="1b52da65044450b50193f09b5d2d89aede3c5262"

2nd command:

C:/../source/git/TestApp/MSBuild/Current/Bin/MsBuild.exe /t:Rebuild

3rd command:

C:/SQ/sonar-scanner-msbuild- end /d:sonar.login="1b52da65044450b50193f09b5d2d89aede3c5262"

but i got this error,

Any idea how to solve this issue? thanks in advance.

Hey there.

I don’t think there’s much we can glean from the information shared. I would recommend sharing the full log output of these commands, redacting any sensitive information.

Try the below, it might help, it worked on my local
command 1:

"C:/SQ/sonar-scanner-msbuild-"SonarScanner.MSBuild.exe begin /k:"TestApp" /"myURL" /d:sonar.login="1b52da65044450b50193f09b5d2d89aede3c5262"

Command 2:
"C:/…/source/git/TestApp/MSBuild/Current/Bin/"MSBuild.exe /t:Rebuild

Command 3:

"C:/SQ/sonar-scanner-msbuild-"SonarScanner.MSBuild.exe end /d:sonar.login="1b52da65044450b50193f09b5d2d89aede3c5262"