Skip to content

csaba-feher-sonarsource/CSharpProject

Repository files navigation

SonarScanner for .NET (MSBuild) C# Project

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

Prerequisites

Usage

  1. Run SonarScanner for .NET/MSBuild begin phase:
    SonarScanner.MSBuild.exe begin /k:"org.sonarqube:sonar-scanner-msbuild" /n:"Example of SonarScanner for MSBuild Usage" /v:"1.0"
  2. Build the project with MSBuild:
    MSBuild.exe /t:Rebuild
  3. Run SonarScanner for MSBuild end phase:
    SonarScanner.MSBuild.exe end

About

Test CSharp project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages