NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
NuGet
NuGet, #777 most downloaded on NuGet
Microsoft recommended .NetCore API usage 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.
Latest stable
3.3.2
Last release 6 years ago
no release in 18 months
Release timing varies
gaps range from 3 weeks to 5 months
Nearly every release is documented
notes for 22 of 22 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
29 releases · first in 2017
Drag across the ruler to compare, or tap a release to open it.
New deprecation warning [CA9998](https://docs.microsoft.com/visualstudio/code-quality/migrate-from-fxcop-analyzers-to-net-analyzers) for Microsoft.Cod…
Release build of Roslyn-analyzers based on Microsoft.CodeAnalysis 3.3.0 NuGet packages. Works with VS 2019 16.3 or later.
Microsoft.CodeAnalysis.FxCopAnalyzers package:
FxCopAnalyzers package has been deprecated in favor of 'Microsoft.CodeAnalysis.NetAnalyzers', that ships with the .NET SDK. Please refer to https://docs.microsoft.com/visualstudio/code-quality/migrate-from-fxcop-analyzers-to-net-analyzers to migrate to .NET analyzers.Release build of Roslyn-analyzers based on Microsoft.CodeAnalysis 3.3.0 NuGet packages. Works with VS 2019 16.3 or later.
Release build of Roslyn-analyzers based on Microsoft.CodeAnalysis 3.3.0 NuGet packages. Works with VS 2019 16.3 or later.
Contains following important changes on top of v3.3.0 release:
Your coding agent can read these notes before it upgrades. Set up the MCP server →
The new security rules CA2350-CA2362 can help find vulnerabilities related to DataSet and DataTable security guidance.
Release build of Roslyn-analyzers based on Microsoft.CodeAnalysis 3.3.0 NuGet packages. Works with VS 2019 16.3 or later.
Contains following important changes on top of v3.0.0 release
The new security rules CA2350-CA2362 can help find vulnerabilities related to DataSet and DataTable security guidance.
Editorconfig based file/directory level options configuration. See details here
Release build of Roslyn-analyzers based on Microsoft.CodeAnalysis 3.0.0 NuGet packages. Works with VS 2019 or later.
Release build of Roslyn-analyzers based on Microsoft.CodeAnalysis 3.0.0 NuGet packages. Works with VS 2019 or later.
Contains following important changes on top of v2.9.x releases
Tons of bug fixes
Release build of Roslyn-analyzers based on Microsoft.CodeAnalysis 2.9.0 NuGet packages. Works with VS 2017 15.9 or later.
Release build of Roslyn-analyzers based on Microsoft.CodeAnalysis 2.9.0 NuGet packages. Works with VS 2017 15.9 or later.
Contains functionality and performance bug fixes on top of the v2.9.11 release.
New security rules to help find vulnerabilities related to DataSet and DataTable security guidance.
Release build of Roslyn-analyzers based on Microsoft.CodeAnalysis 2.9.0 NuGet packages. Works with VS 2017 15.9 or later.
Contains the following important changes on top of the v2.9.10 release.
New security rules to help find vulnerabilities related to DataSet and DataTable security guidance.
New security rules to help find vulnerabilities related to DataSet and DataTable security guidance.
Release build of Roslyn-analyzers based on Microsoft.CodeAnalysis 2.9.0 NuGet packages. Works with VS 2017 15.9 or later.
Contains the following important changes on top of the v2.9.9 release.
New security rules to help find vulnerabilities related to DataSet and DataTable security guidance.
Release build of Roslyn-analyzers based on Microsoft.CodeAnalysis 2.9.0 NuGet packages. Works with VS 2017.9 or later.
Release build of Roslyn-analyzers based on Microsoft.CodeAnalysis 2.9.0 NuGet packages. Works with VS 2017.9 or later.
Contains the following important changes on top of the v2.9.8 release.
Release build of Roslyn-analyzers based on Microsoft.CodeAnalysis 2.9.0 NuGet packages. Works with VS 2017.9 or later.
Release build of Roslyn-analyzers based on Microsoft.CodeAnalysis 2.9.0 NuGet packages. Works with VS 2017.9 or later.
Contains the following important changes on top of the v2.9.7 release.
Release build of Roslyn-analyzers based on Microsoft.CodeAnalysis 2.9.0 NuGet packages. Works with VS 2017.9 or later.
Release build of Roslyn-analyzers based on Microsoft.CodeAnalysis 2.9.0 NuGet packages. Works with VS 2017.9 or later.
Contains following important changes on top of the v2.9.6 release
foo.Bar = Singletons.Bar ?? throw new Exception();Release build of Roslyn-analyzers based on Microsoft.CodeAnalysis 2.9.0 NuGet packages. Works with VS 2017.9 or later.
Release build of Roslyn-analyzers based on Microsoft.CodeAnalysis 2.9.0 NuGet packages. Works with VS 2017.9 or later.
Contains following important bug fix on top of v2.9.5 release:
CA1065: Fixed false positives caused by breaking changes in the IOperation tree shape for throw operations.
Release build of Roslyn-analyzers based on Microsoft.CodeAnalysis 2.9.0 NuGet packages. Works with VS 2017.9 or later.
Contains following important changes on top of v2.9.4 release
Single or SingleOrDefault invocations.disallowed_symbol_names to to allow configuration of disallowed exception types.exclude_extension_method_this_parameter for CA1062 to skip analysis of extension method 'this' parameter.api_surface for CA1801 (Review unused parameters).required_modifiers for CA1802. CA1802 only flags static readonly flags by default. This matches the legacy FxCop implementation for compat reasons. With this change, users can make the rule more aggressive by also flagging instance fieldsadditional_string_formatting_methods for CA2241. CA2241 considers String.Format and Console.WriteLine as special formatting methods to validate the callsites for formatting arguments. This change allows end users to supply additional formatting methods that should be validated.Release build of Roslyn-analyzers based on Microsoft.CodeAnalysis 2.9.0 NuGet packages. Contains bug fixes on top of v2.9.3 release and additional rul
Release build of Roslyn-analyzers based on Microsoft.CodeAnalysis 2.9.0 NuGet packages. Contains bug fixes on top of v2.9.3 release and additional rules listed below.
Works with VS 2017.9 or later.
Release build of Roslyn-analyzers based on Microsoft.CodeAnalysis 2.9.0 NuGet packages. Contains bug fixes on top of v2.9.2 release.
Release build of Roslyn-analyzers based on Microsoft.CodeAnalysis 2.9.0 NuGet packages. Contains bug fixes on top of v2.9.2 release.
Works with VS 2017.9 or later.
Release build of Roslyn-analyzers based on Microsoft.CodeAnalysis 2.9.0 NuGet packages. Contains bug fixes on top of v2.9.1 release.
Release build of Roslyn-analyzers based on Microsoft.CodeAnalysis 2.9.0 NuGet packages. Contains bug fixes on top of v2.9.1 release.
Works with VS 2017.9 or later.
Release build of Roslyn-analyzers based on Microsoft.CodeAnalysis 2.9.1 NuGet packages. Contains bug fixes on top of v2.9.0 release.
Release build of Roslyn-analyzers based on Microsoft.CodeAnalysis 2.9.1 NuGet packages. Contains bug fixes on top of v2.9.0 release.
Works with VS 2017.9 or later.
CA2100: Review SQL queries for security vulnerabilities
Release build of Roslyn-analyzers based on Microsoft.CodeAnalysis 2.9.0 NuGet packages. Contains additional analyzers/fixers and additional bug fixes on top of v2.6.3 release.
Works with VS 2017.9 or later.
Release build of Roslyn-analyzers based on Microsoft.CodeAnalysis 2.6.0 NuGet packages, with additional bug fixes and rules on top of v2.6.3 release.
Release build of Roslyn-analyzers based on Microsoft.CodeAnalysis 2.6.0 NuGet packages, with additional bug fixes and rules on top of v2.6.3 release.
Works with VS 2017.5 or later.
Release build of Roslyn-analyzers based on Microsoft.CodeAnalysis 2.6.0 NuGet packages, with additional bug fixes on top of v2.6.2 release.
Release build of Roslyn-analyzers based on Microsoft.CodeAnalysis 2.6.0 NuGet packages, with additional bug fixes on top of v2.6.2 release.
Works with VS 2017.5 or later.
Release build of Roslyn-analyzers based on Microsoft.CodeAnalysis 2.6.0 NuGet packages, with additional bug fixes on top of v2.6.1 release.
Release build of Roslyn-analyzers based on Microsoft.CodeAnalysis 2.6.0 NuGet packages, with additional bug fixes on top of v2.6.1 release.
Works with VS 2017.5 or later.
Pre-release build of Roslyn-analyzers based on Microsoft.CodeAnalysis 2.6.0 NuGet packages, with additional bug fixes and analyzers on top of v2.6.1 r
Pre-release build of Roslyn-analyzers based on Microsoft.CodeAnalysis 2.6.0 NuGet packages, with additional bug fixes and analyzers on top of v2.6.1 release.
Primary addition includes packaging of "rulesets" in the analyzer NuGet packages, listing all rules implemented in the package.
Works with VS 2017.5 or later.
Pre-release build of Roslyn-analyzers based on Microsoft.CodeAnalysis 2.6.0 NuGet packages, with additional bug fixes and analyzers on top of v2.6.1 r
Pre-release build of Roslyn-analyzers based on Microsoft.CodeAnalysis 2.6.0 NuGet packages, with additional bug fixes and analyzers on top of v2.6.1 release.
Primary addition includes packaging of "rulesets" in the analyzer NuGet packages, listing all rules implemented in the package.
Works with VS 2017.5 or later.
Release build of Roslyn-analyzers based on Microsoft.CodeAnalysis 2.6.0 NuGet packages, with additional bug fixes and analyzers on top of v2.6.0 relea
Release build of Roslyn-analyzers based on Microsoft.CodeAnalysis 2.6.0 NuGet packages, with additional bug fixes and analyzers on top of v2.6.0 release.
Works with VS 2017.5 or later.
Release build of Roslyn-analyzers based on Microsoft.CodeAnalysis 2.6.0 NuGet packages.
Release build of Roslyn-analyzers based on Microsoft.CodeAnalysis 2.6.0 NuGet packages.
Works with VS 2017.5 or later.
Preview build of Roslyn-analyzers based on Microsoft.CodeAnalysis 2.6.0-beta3 NuGet packages, with additional bug fixes on top of v2.6.0-beta1.
Preview build of Roslyn-analyzers based on Microsoft.CodeAnalysis 2.6.0-beta3 NuGet packages, with additional bug fixes on top of v2.6.0-beta1.
Works with VS 2017.5 or later.
Preview build of Roslyn-analyzers based on Microsoft.CodeAnalysis 2.6.0-beta3 NuGet packages, with additional bug fixes on top of v2.3.0-beta1.
Preview build of Roslyn-analyzers based on Microsoft.CodeAnalysis 2.6.0-beta3 NuGet packages, with additional bug fixes on top of v2.3.0-beta1.
Works with VS 2017.5 Preview 4 or later.
Preview build of Roslyn-analyzers based on Microsoft.CodeAnalysis 2.3.0 NuGet packages, with additional bug fixes on top of v2.0.0-beta2.
Preview build of Roslyn-analyzers based on Microsoft.CodeAnalysis 2.3.0 NuGet packages, with additional bug fixes on top of v2.0.0-beta2.
Works with VS 2017.3.
Preview build of Roslyn-analyzers based on Microsoft.CodeAnalysis 2.0.0 NuGet packages, with additional bug fixes on top of v2.0.0-beta1.
Preview build of Roslyn-analyzers based on Microsoft.CodeAnalysis 2.0.0 NuGet packages, with additional bug fixes on top of v2.0.0-beta1.
Preview build of Roslyn-analyzers based on Microsoft.CodeAnalysis 2.0.0 NuGet packages, with additional rules and bug fixes on top of v1.2.0-beta2.
Preview build of Roslyn-analyzers based on Microsoft.CodeAnalysis 2.0.0 NuGet packages, with additional rules and bug fixes on top of v1.2.0-beta2.
One column per quarter.