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-5.8.0.52797-net46/SonarScanner.MSBuild.exe begin /k:"TestApp" /d:sonar.host.url="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-5.8.0.52797-net46/SonarScanner.MSBuild.exe 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-5.8.0.52797-net46/"SonarScanner.MSBuild.exe begin /k:"TestApp" /d:sonar.host.url="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-5.8.0.52797-net46/"SonarScanner.MSBuild.exe end /d:sonar.login="1b52da65044450b50193f09b5d2d89aede3c5262"

Same error i am facing. Please let us know how to solve this error