This example demonstrates how to analyze a .NET Solution with the SonarScanner for MSBuild.
- SonarQube 7.9+ LTS
- SonarScanner for MSBuild 4.1.0+
- SonarSource C# Plugin 7.15+
- Compatible .NET Build Environment
- Run SonarScanner for MSBuild begin phase:
SonarScanner.MSBuild.exe begin /k:"org.sonarqube:sonarqube-scanner-msbuild" /n:"Example of SonarScanner for MSBuild Usage" /v:"1.0"- Build the project with MSBuild:
MSBuild.exe /t:Rebuild- Run SonarScanner for MSBuild end phase:
SonarScanner.MSBuild.exe end