Skip to content

kiloecho-sonar/CSharpExample

Repository files navigation

SonarQube-Scanner MSBuild CSharp Project

This example demonstrates how to analyze a .NET Solution with the SonarScanner for MSBuild. Please review cateogrization of product projects versus test projects to ensure your CSharp project is scanned correctly.

Prerequisites

Usage

  • 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

About

Sonar scanning example C# with test and coverage

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages