https://github.com/sonarsource/sonar-scanner-msbuild
SonarScanner for .NET
https://github.com/sonarsource/sonar-scanner-msbuild
Last synced: 6 months ago
JSON representation
SonarScanner for .NET
- Host: GitHub
- URL: https://github.com/sonarsource/sonar-scanner-msbuild
- Owner: SonarSource
- License: lgpl-3.0
- Created: 2015-04-23T08:45:40.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2025-06-23T13:58:25.000Z (about 1 year ago)
- Last Synced: 2025-06-23T14:45:25.720Z (about 1 year ago)
- Language: C#
- Homepage: http://redirect.sonarsource.com/doc/msbuild-sq-runner.html
- Size: 15.6 MB
- Stars: 373
- Watchers: 50
- Forks: 143
- Open Issues: 34
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
# Sonar Scanner for .NET
[](https://dev.azure.com/sonarsource/DotNetTeam%20Project/_build/latest?definitionId=64&branchName=master)
[](https://sonarcloud.io/dashboard?id=sonarscanner-msbuild)
[](https://sonarcloud.io/component_measures?id=sonarscanner-msbuild&metric=coverage)
[](#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-azdo)
* [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.
## Security Issues
If you believe you have discovered a security vulnerability in Sonar's products, please check [this document](./SECURITY.md)
## License
Copyright 2016-2025 SonarSource.
Licensed under the [GNU Lesser General Public License, Version 3.0](http://www.gnu.org/licenses/lgpl.txt)