2022-07-21T14:24:06.2089952Z ##[section]Starting: Run Code Analysis 2022-07-21T14:24:06.2395217Z ============================================================================== 2022-07-21T14:24:06.2396476Z Task : Run Code Analysis 2022-07-21T14:24:06.2397619Z Description : Run scanner and upload the results to the SonarQube server. 2022-07-21T14:24:06.2398670Z Version : 5.6.1 2022-07-21T14:24:06.2399492Z Author : sonarsource 2022-07-21T14:24:06.2401550Z Help : Version: 5.6.1. This task is not needed for Maven and Gradle projects since the scanner should be run as part of the build. [More Information](http://redirect.sonarsource.com/doc/install-configure-scanner-tfs-ts.html) 2022-07-21T14:24:06.2404532Z ============================================================================== 2022-07-21T14:24:06.9957201Z [command]D:\TFS-Build02-Agent2\_work\_tasks\SonarQubePrepare_15b84ca1-b62f-4a2a-a403-89b77a063157\5.6.1\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe end 2022-07-21T14:24:07.3560261Z SonarScanner for MSBuild 5.6 2022-07-21T14:24:07.3573900Z Using the .NET Framework version of the Scanner for MSBuild 2022-07-21T14:24:07.4877195Z Post-processing started. 2022-07-21T14:24:07.8288291Z ##[error]09:24:07.819 The SonarScanner for 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.25420.1 and higher 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) 2022-07-21T14:24:07.8298657Z 09:24:07.819 The SonarScanner for MSBuild integration failed: SonarQube was unable to collect the required information about your projects. 2022-07-21T14:24:07.8300675Z Possible causes: 2022-07-21T14:24:07.8302305Z 1. The project has not been built - the project must be built in between the begin and end steps 2022-07-21T14:24:07.8304835Z 2. An unsupported version of MSBuild has been used to build the project. Currently MSBuild 14.0.25420.1 and higher are supported. 2022-07-21T14:24:07.8306904Z 3. The begin, build and end steps have not all been launched from the same folder 2022-07-21T14:24:07.8308725Z 4. None of the analyzed projects have a valid ProjectGuid and you have not used a solution (.sln) 2022-07-21T14:24:07.8310565Z 09:24:07.819 Generation of the sonar-properties file failed. Unable to complete the analysis. 2022-07-21T14:24:07.8552997Z ##[error]09:24:07.853 Post-processing failed. Exit code: 1 2022-07-21T14:24:07.8556793Z 09:24:07.853 Post-processing failed. Exit code: 1 2022-07-21T14:24:07.9478570Z ##[error]The process 'D:\TFS-Build02-Agent2\_work\_tasks\SonarQubePrepare_15b84ca1-b62f-4a2a-a403-89b77a063157\5.6.1\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe' failed with exit code 1 2022-07-21T14:24:07.9625385Z ##[section]Finishing: Run Code Analysis