Skip to main content
.NETCoreApp3.1

The SonarScanner for .NET allows easy analysis of any .NET project with SonarCloud/SonarQube.

Published
Sep 22, 2025
1y ago
Total Downloads
78.6M
78,591,345

Install

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

README

Sonar Scanner for .NET

Build Status Quality Gate Coverage PRs Welcome

The SonarScanner for .NET is the recommended way to launch a SonarQube or SonarCloud analysis for Clean Code projects/solutions using MSBuild or dotnet command as a build tool. It is the result of a collaboration between SonarSource and Microsoft.

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 2016-2025 SonarSource.

Licensed under the GNU Lesser General Public License, Version 3.0

Changes from Previous Version

No structural changes between v10.3.0 and v10.4.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.