SonarQube analysis could not be completed because the sonar-project.properties file could not be found

I sometimes take following error in last step

Post-processing started.
Generation of the sonar-properties file failed. Unable to complete SonarQube analysis.

Also,Sonarqube does not create sonar-project.properties in out file

I run 3 Steps

  • SonarScanner.MSBuild.exe begin /k:“NBSMTransfer” /n:“NBSMTransfer” /d:sonar.scm.provider=tfvc
  • “C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe” NBSMTransfer.csproj /t:rebuild
  • SonarScanner.MSBuild.exe end

Thank You,
Best Regards

update

Hello,

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 thje BEGIN and END steps).

And please answer to the following question : what is the version of SonarQube that you are using?