Skip to main content
.NETCoreApp3.1

The SonarScanner for .NET allows easy analysis of any .NET project with SonarQube Server and Cloud.

Published
Nov 5, 2026
19d ago
Total Downloads
85.1M
85,139,475

Install

dotnet add package dotnet-sonarscanner --version 12.1.0
ProductVersions
Other
.NETCoreApp3.1

README

Quality Gate Coverage PRs Welcome

SonarScanner for .NET

SonarScanner for .NET is a tool to analyze .NET projects with SonarQube. It integrates SonarQube analysis into projects built with MSBuild or the dotnet command and sends the results to SonarQube Server or SonarQube Cloud.

Learn more about the SonarQube product family, then choose the scanner distribution that fits your build environment below.

SonarScanner for .NET is distributed as a

For more info please look at our documentation page

and at our user guides

Contributing

Check out the contributing 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

License

Copyright (C) SonarSource Sàrl.

Licensed under the GNU Lesser General Public License, Version 3.0

Changes from Previous Version

No structural changes between v12.0.0 and v12.1.0.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.