Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/SonarSource/sonar-scanner-msbuild

SonarScanner for .NET
https://github.com/SonarSource/sonar-scanner-msbuild

language-team

Last synced: 3 months ago
JSON representation

SonarScanner for .NET

Lists

README

        

# Sonar Scanner for .NET

[![Build Status](https://dev.azure.com/sonarsource/DotNetTeam%20Project/_apis/build/status/SonarScanner%20for%20MSBuild?branchName=master)](https://dev.azure.com/sonarsource/DotNetTeam%20Project/_build/latest?definitionId=64&branchName=master)
[![Quality Gate](https://sonarcloud.io/api/project_badges/measure?project=sonarscanner-msbuild&metric=alert_status)](https://sonarcloud.io/dashboard?id=sonarscanner-msbuild)
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=sonarscanner-msbuild&metric=coverage)](https://sonarcloud.io/component_measures?id=sonarscanner-msbuild&metric=coverage)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](#contributing)

The SonarScanner for .NET is the recommended way to launch a SonarQube or SonarCloud analysis for [Clean Code](https://www.sonarsource.com/solutions/clean-code/) projects/solutions using MSBuild or dotnet command as a build tool. It is the result of a [collaboration between SonarSource and Microsoft.](https://www.sonarsource.com/blog/easy-analysis-of-visual-studio-solutions-with-the-sonarqube-scanner-for-msbuild/)

SonarScanner for .NET is distributed as a

* [Standalone tool](https://github.com/SonarSource/sonar-scanner-msbuild)
* [Azure DevOps extension](https://github.com/SonarSource/sonar-scanner-vsts)
* [Jenkins plugin](https://github.com/SonarSource/sonar-scanner-jenkins)

For more info please look at our documentation page

* [On SonarQube](https://docs.sonarqube.org/latest/analysis/scan/sonarscanner-for-msbuild/)
* [On SonarCloud](https://docs.sonarcloud.io/advanced-setup/ci-based-analysis/sonarscanner-for-net/)

and at our user guides

* [Generate Test Coverage Reports for C#, VB.NET](https://community.sonarsource.com/t/9871)
* [How to find logs about importing code coverage ](https://community.sonarsource.com/t/73317)
* [Troubleshooting guide for .NET code coverage import](https://community.sonarsource.com/t/37151)
* [The Sonar guide for investigating the performance of .NET analysis](https://community.sonarsource.com/t/47279/)
* [Configuration of WarningsAsErrors for .NET build](https://community.sonarsource.com/t/32393)

## Contributing

Check out the [contributing](CONTRIBUTING.md) page to see the best places to log issues and start discussions.

## License

Copyright 2016-2024 SonarSource.

Licensed under the [GNU Lesser General Public License, Version 3.0](http://www.gnu.org/licenses/lgpl.txt)