Microsoft.CodeAnalysis.NetAnalyzers 9.0.0

Prefix Reserved
dotnet add package Microsoft.CodeAnalysis.NetAnalyzers --version 9.0.0                
NuGet\Install-Package Microsoft.CodeAnalysis.NetAnalyzers -Version 9.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="9.0.0">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.CodeAnalysis.NetAnalyzers --version 9.0.0                
#r "nuget: Microsoft.CodeAnalysis.NetAnalyzers, 9.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Microsoft.CodeAnalysis.NetAnalyzers as a Cake Addin
#addin nuget:?package=Microsoft.CodeAnalysis.NetAnalyzers&version=9.0.0

// Install Microsoft.CodeAnalysis.NetAnalyzers as a Cake Tool
#tool nuget:?package=Microsoft.CodeAnalysis.NetAnalyzers&version=9.0.0                

Microsoft.CodeAnalysis.NetAnalyzers

Contains all the .NET code analysis rules (CAxxxx) that are built into the .NET SDK starting .NET5 release. The documentation for CA rules can be found at learn.microsoft.com/visualstudio/code-quality/code-analysis-for-managed-code-warnings.

You do not need to manually install this NuGet package to your project if you are using .NET5 SDK or later. These analyzers are enabled by default for projects targeting .NET5 or later. For projects targeting earlier .NET frameworks, you can enable them in your MSBuild project file by setting one of the following properties:

  1. EnableNETAnalyzers

    <PropertyGroup>
      <EnableNETAnalyzers>true</EnableNETAnalyzers>
    </PropertyGroup>
    
  2. AnalysisLevel

    <PropertyGroup>
      <AnalysisLevel>latest</AnalysisLevel>
    </PropertyGroup>
    
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (41)

Showing the top 5 NuGet packages that depend on Microsoft.CodeAnalysis.NetAnalyzers:

Package Downloads
TIKSN-Framework

This is a .NET Framework enhancement framework. Main features are Versioning, Finance, Currency, Foreign Exchange, Money, Pricing strategy, Telemetry, Composite Weighted Progress, Repository and Unity of Wok pattern implementation with Entity Framework Core, Network Connectivity Service and Triggering, Settings, Windows Registry configuration source, Azure Storage Repository, MongoDB Repository, NoDB Repository, Lingual and Regional Localization, Serialization, Rest Requester, Rest Repository, Dependency Injection, Composition Root Setup base classes.

NI.CSharp.Analyzers

NI's code analyzers and rulesets for C# projects.

GridGain.Ignite

.NET client for Apache Ignite. Ignite is a distributed database for high-performance computing with in-memory speed.

Workleap.DotNet.CodingStandards

Workleap recommended coding standards for .NET.

Ark.Tools.NLog.CloudConfigurationManager

Extensions of Ark.Tools.NLog reading params from CloudConfigurationManager

GitHub repositories (140)

Showing the top 5 popular GitHub repositories that depend on Microsoft.CodeAnalysis.NetAnalyzers:

Repository Stars
microsoft/PowerToys
Windows system utilities to maximize productivity
microsoft/semantic-kernel
Integrate cutting-edge LLM technology quickly and easily into your apps
dotnet/maui
.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
dotnet/roslyn
The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
dotnet/runtime
.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
Version Downloads Last updated
9.0.0 237,197 11/13/2024
9.0.0-preview.24527.2 217 12/10/2024
9.0.0-preview.24508.2 1,491 11/12/2024
9.0.0-preview.24454.1 86,920 10/8/2024
9.0.0-preview.24415.1 43,271 9/10/2024
9.0.0-preview.24324.1 27,259 8/13/2024
9.0.0-preview.24318.1 5,823 7/9/2024
9.0.0-preview.24225.1 49,526 6/11/2024
9.0.0-preview.24216.2 11,744 5/21/2024
9.0.0-preview.24165.2 54,842 4/11/2024
9.0.0-preview.24122.1 242,090 3/12/2024
9.0.0-preview.24072.1 77,097 2/13/2024
8.0.0 8,548,330 11/17/2023
8.0.0-preview.24303.2 221 7/9/2024
8.0.0-preview.24219.2 125 5/14/2024
8.0.0-preview.23614.1 266 2/13/2024
8.0.0-preview.23525.2 3,483 11/14/2023
8.0.0-preview.23472.1 50,939 10/10/2023
8.0.0-preview.23420.2 5,980 9/12/2023
8.0.0-preview.23364.2 10,851 8/8/2023
8.0.0-preview.23320.2 953 7/11/2023
8.0.0-preview.23270.2 287 6/13/2023
8.0.0-preview.23225.2 451 5/16/2023
7.0.4 2,438,816 8/28/2023
7.0.4-preview1.23354.4 17,782 8/8/2023
7.0.3 1,189,827 6/15/2023
7.0.3-preview1.23267.1 18,015 6/13/2023
7.0.1 3,143,751 3/9/2023
7.0.1-preview1.23160.1 189 4/11/2023
7.0.1-preview1.23061.1 117,549 2/14/2023
7.0.0 2,719,853 12/8/2022
7.0.0-preview1.22559.1 644 12/13/2022
7.0.0-preview1.22518.1 97,678 11/7/2022
7.0.0-preview1.22514.1 492 11/7/2022
7.0.0-preview1.22464.1 10,991 10/11/2022
7.0.0-preview1.22452.2 319 10/11/2022
7.0.0-preview1.22403.2 82,409 9/14/2022
7.0.0-preview1.22362.3 34,144 8/9/2022
7.0.0-preview1.22361.3 316 8/9/2022
7.0.0-preview1.22310.1 12,258 7/12/2022
7.0.0-preview1.22274.2 5,306 6/14/2022
7.0.0-preview1.22217.1 17,601 5/10/2022
7.0.0-preview1.22168.1 29,693 4/13/2022
7.0.0-preview1.22116.1 16,045 3/14/2022
7.0.0-preview1.22068.2 54,742 2/17/2022
6.0.0 12,900,508 11/8/2021
5.0.3 8,784,278 1/5/2021
5.0.2 9,464 10/18/2021
5.0.1 506,483 12/3/2020
5.0.0 104,772 11/12/2020