SonarAnalyzer for C# NuGet Package

Roslyn analyzers that spot Bugs, Vulnerabilities and Code Smells in your code.

For an even better overall experience, you can use SonarQube for IDE (Visual Studio, Rider, see https://www.sonarsource.com/products/sonarlint), which is a free extension that can be used standalone or with SonarQube (Server, Cloud, see: https://www.sonarsource.com/products/sonarqube/ and https://www.sonarsource.com/products/sonarcloud/).




Got any SonarAnalyzer for C# Question?





Info

Version: 10.20.0.135146
Author(s): SonarSource
Last Update: Wednesday, February 25, 2026
.NET Fiddle: Create the first Fiddle
Project Url: https://redirect.sonarsource.com/doc/sonar-visualstudio.html
NuGet Url: https://www.nuget.org/packages/SonarAnalyzer.CSharp


Install
Install-Package SonarAnalyzer.CSharp
dotnet add package SonarAnalyzer.CSharp
paket add SonarAnalyzer.CSharp
SonarAnalyzer.CSharp Download (Unzip the "nupkg" after downloading)

17 packages depend on this package.


Tags



STATS

must-have-score

5.8

avg-downloads-per-day

22892

days-since-last-release

32