Microsoft recommended code quality rules implemented as analyzers using the .NET Compiler Platform (Roslyn). This package is included as a part of Microsoft.CodeAnalysis.FxCopAnalyzers NuGet package and does not need to be installed separately.

This is a prerelease version of Microsoft.CodeQuality.Analyzers.
There is a newer version of this package available.
See the version list below for details.
This package has a SemVer 2.0.0 package version.
This package will only be available to download with SemVer 2.0.0 compatible NuGet clients, such as Visual Studio 2017 (version 15.3) and above or NuGet client 4.3.0 and above. Read more
Install-Package Microsoft.CodeQuality.Analyzers -Version
dotnet add package Microsoft.CodeQuality.Analyzers --version
<PackageReference Include="Microsoft.CodeQuality.Analyzers" Version="">
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.CodeQuality.Analyzers --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.


This package has no dependencies.

Showing the top 10 GitHub repositories that depend on Microsoft.CodeQuality.Analyzers:

Repository Stars
The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
Visual Studio extension for assembly syntax highlighting and code completion in assembly files and the disassembly window
Lean Algorithmic Trading Engine by QuantConnect (C#, Python, F#)
Yarn Spinner is a tool for building interactive dialogue in games!
The C#, F# and Visual Basic project system for Visual Studio
A .NET Core global tool to display outdated NuGet packages in a project
Character generator for Shadowrun 5th edition
A turn-key library for building RESTful services
✖ An extension for describing each step in a test with natural language.
Windows Firewall Notifier extends the default Windows embedded firewall by allowing to handle and notify about outgoing connections, offers real time connections monitoring, connections map, bandwidth usage monitoring and more...

Version History

Version Downloads Last updated
2.9.6 64,800 10/3/2019
2.9.5 12,793 10/2/2019 14,610 9/10/2019
2.9.4 480,600 7/29/2019 11,028 6/25/2019
2.9.3 523,726 6/6/2019
2.9.2 334,028 4/17/2019
2.9.1 134,000 3/29/2019
2.9.0 10,412 3/26/2019 3,524 3/12/2019
2.6.4 7,441 5/7/2019
2.6.3 738,862 1/10/2019
2.6.2 1,183,565 9/25/2018
2.6.2-beta2 124,296 8/7/2018
2.6.2-beta1 6,144 6/12/2018
2.6.1 745,640 6/5/2018
2.6.0 894,366 1/12/2018
2.6.0-beta2 99,890 12/7/2017
2.6.0-beta1 6,861 12/1/2017
2.3.0-beta1 84,082 5/25/2017
2.0.0-beta2 27,834 5/10/2017
2.0.0-beta1 521 5/2/2017