Other bugs,The SonarQube MSBuild integration failed: SonarQube was unable to collect the required information

CopyFilesToOutputDirectory:
WebApi → C:\app\sorgenti.net\Acquire64\WebApi\bin\WebApi.dll
Compilazione progetto “C:\app\sorgenti.net\Acquire64\WebApi\WebApi.csproj” (destinazioni predefinite) completata.

Compilazione completata.

C:\WINDOWS\system32>C:\sonar-ms46\SonarScanner.MSBuild.exe end
SonarScanner for MSBuild 4.6.2
Using the .NET Framework version of the Scanner for MSBuild
Post-processing started.
The SonarQube MSBuild integration failed: SonarQube was unable to collect the required information about your projects.
Possible causes:

  1. The project has not been built - the project must be built in between the begin and end steps
  2. An unsupported version of MSBuild has been used to build the project. Currently MSBuild 14.0 and 15.0 are supported
  3. The begin, build and end steps have not all been launched from the same folder
  4. None of the analyzed projects have a valid ProjectGuid and you have not used a solution (.sln)
    Generation of the sonar-properties file failed. Unable to complete SonarQube analysis.
    19:45:15.252 Post-processing failed. Exit code: 1

complete disaster on .net

hi

  • please tell us what are the commands you are using; are you running all commands from the same folder?
  • I see you are using SQ Scanner for MSBuild 4.6.2. Please tell us what is the version of MSBuild you are using?
  • are you using SonarQube or SonarCloud?
  • please share the diagnostic logs for the BEGIN, BUILD and END step. To do that, please run SonarScanner.MSBuild.exe begin /k:“MyProject” /d:sonar.verbose=true as the begin step, and please attach the output of END step. Please attach the 3 log files and don’t just copy paste them to the issue.
  • what are the contents of the .sonarqube\out folder?
  • could you please share the .sonarqube\conf\SonarQubeAnalysisConfig.xml and the .sonarqube\conf\sonar-project.properties