Skip to main content
Microsoft.CodeAnalysis.FxCopAnalyzers package icon

Microsoft.CodeAnalysis.FxCopAnalyzers

Microsoft recommended code quality rules and .NET API usage rules, including the most important FxCop rules, implemented as analyzers using the .NET Compiler Platform (Roslyn). These analyzers check your code for security, performance, and design issues, among others. The documentation for FxCop analyzers can be found at https://docs.microsoft.com/visualstudio/code-quality/install-fxcop-analyzers

Total Downloads
73.4M
73,407,517
Published
Oct 31, 2019
Latest stable version

Install

.NET CLI
dotnet add package Microsoft.CodeAnalysis.FxCopAnalyzers --version 2.9.7
Package Manager Console
Install-Package Microsoft.CodeAnalysis.FxCopAnalyzers -Version 2.9.7
PackageReference
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.9.7" />

Frameworks

No framework metadata available.

Dependencies

Adoption guide

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

NuGet marks this package as deprecated and points to Microsoft.CodeAnalysis.NetAnalyzers as an alternative.

No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.