Microsoft.CodeAnalysis.NetAnalyzers 10.0.0-preview.25155.1

Prefix Reserved
This is a prerelease version of Microsoft.CodeAnalysis.NetAnalyzers.
dotnet add package Microsoft.CodeAnalysis.NetAnalyzers --version 10.0.0-preview.25155.1
                    
NuGet\Install-Package Microsoft.CodeAnalysis.NetAnalyzers -Version 10.0.0-preview.25155.1
                    
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="10.0.0-preview.25155.1">
  <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.
<PackageVersion Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="10.0.0-preview.25155.1" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Microsoft.CodeAnalysis.NetAnalyzers --version 10.0.0-preview.25155.1
                    
#r "nuget: Microsoft.CodeAnalysis.NetAnalyzers, 10.0.0-preview.25155.1"
                    
#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.
#addin nuget:?package=Microsoft.CodeAnalysis.NetAnalyzers&version=10.0.0-preview.25155.1&prerelease
                    
Install Microsoft.CodeAnalysis.NetAnalyzers as a Cake Addin
#tool nuget:?package=Microsoft.CodeAnalysis.NetAnalyzers&version=10.0.0-preview.25155.1&prerelease
                    
Install Microsoft.CodeAnalysis.NetAnalyzers as a Cake Tool

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 (38)

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.

Workleap.DotNet.CodingStandards

Workleap recommended coding standards for .NET.

Lombiq.Analyzers

Lombiq .NET Analyzers: .NET code analyzers and code convention settings for general .NET projects. See the project website for detailed documentation.

Ark.Tools.NLog.CloudConfigurationManager

Extensions of Ark.Tools.NLog reading params from CloudConfigurationManager

GitHub repositories (153)

Showing the top 20 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.
JamesNK/Newtonsoft.Json
Json.NET is a popular high-performance JSON framework for .NET
cefsharp/CefSharp
.NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework
HangfireIO/Hangfire
An easy way to perform background job processing in .NET and .NET Core applications. No Windows Service or separate process required
unoplatform/uno
Open-source platform for building cross-platform native Mobile, Web, Desktop and Embedded apps quickly. Create rich, C#/XAML, single-codebase apps from any IDE. Hot Reload included! 90m+ NuGet Downloads!!
lostindark/DriverStoreExplorer
Driver Store Explorer [RAPR]
dotnet/wpf
WPF is a .NET Core UI framework for building Windows desktop applications.
ant-design-blazor/ant-design-blazor
🌈A rich set of enterprise-class UI components based on Ant Design and Blazor.
Azure/azure-sdk-for-net
This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
dotnet/winforms
Windows Forms is a .NET UI framework for building Windows desktop applications.
grpc/grpc-dotnet
gRPC for .NET
Richasy/Bili.Copilot
B站第三方 Windows 桌面客户端,使用 Windows App SDK 构建的原生应用
HJLebbink/asm-dude
Visual Studio extension for assembly syntax highlighting and code completion in assembly files and the disassembly window
MvvmCross/MvvmCross
The .NET MVVM framework for cross-platform solutions, including Android, iOS, MacCatalyst, macOS, tvOS, WPF, WinUI
dlemstra/Magick.NET
The .NET library for ImageMagick
stratumauth/app
📱 Two-Factor Authentication (2FA) client for Android + Wear OS
Version Downloads Last updated
10.0.0-preview.25155.1 1,243 4/10/2025
10.0.0-preview.25081.1 3,358 3/18/2025
10.0.0-preview.25076.4 3,109 2/25/2025
9.0.0 2,050,967 11/13/2024
9.0.0-preview.25123.3 170 4/8/2025
9.0.0-preview.25123.1 154 4/8/2025
9.0.0-preview.25076.3 210 3/11/2025
9.0.0-preview.25076.2 181 3/11/2025
9.0.0-preview.24629.2 527 2/11/2025
9.0.0-preview.24605.2 1,856 1/14/2025
9.0.0-preview.24527.2 812 12/10/2024
9.0.0-preview.24508.2 1,905 11/12/2024
9.0.0-preview.24454.1 221,234 10/8/2024
9.0.0-preview.24415.1 109,325 9/10/2024
9.0.0-preview.24324.1 28,891 8/13/2024
9.0.0-preview.24318.1 6,960 7/9/2024
9.0.0-preview.24225.1 53,001 6/11/2024
9.0.0-preview.24216.2 12,794 5/21/2024
9.0.0-preview.24165.2 55,592 4/11/2024
9.0.0-preview.24122.1 243,183 3/12/2024
9.0.0-preview.24072.1 77,988 2/13/2024
8.0.0 11,602,729 11/17/2023
8.0.0-preview.25074.1 164 3/11/2025
8.0.0-preview.24303.2 319 7/9/2024
8.0.0-preview.24219.2 156 5/14/2024
8.0.0-preview.23614.1 341 2/13/2024
8.0.0-preview.23525.2 4,053 11/14/2023
8.0.0-preview.23472.1 60,569 10/10/2023
8.0.0-preview.23420.2 6,721 9/12/2023
8.0.0-preview.23364.2 11,753 8/8/2023
8.0.0-preview.23320.2 1,322 7/11/2023
8.0.0-preview.23270.2 452 6/13/2023
8.0.0-preview.23225.2 602 5/16/2023
7.0.4 2,548,322 8/28/2023
7.0.4-preview1.23354.4 17,811 8/8/2023
7.0.3 1,258,399 6/15/2023
7.0.3-preview1.23267.1 18,032 6/13/2023
7.0.1 3,293,597 3/9/2023
7.0.1-preview1.23160.1 210 4/11/2023
7.0.1-preview1.23061.1 122,026 2/14/2023
7.0.0 2,819,190 12/8/2022
7.0.0-preview1.22559.1 666 12/13/2022
7.0.0-preview1.22518.1 98,220 11/7/2022
7.0.0-preview1.22514.1 564 11/7/2022
7.0.0-preview1.22464.1 11,556 10/11/2022
7.0.0-preview1.22452.2 350 10/11/2022
7.0.0-preview1.22403.2 82,673 9/14/2022
7.0.0-preview1.22362.3 34,240 8/9/2022
7.0.0-preview1.22361.3 340 8/9/2022
7.0.0-preview1.22310.1 12,312 7/12/2022
7.0.0-preview1.22274.2 5,436 6/14/2022
7.0.0-preview1.22217.1 17,703 5/10/2022
7.0.0-preview1.22168.1 30,039 4/13/2022
7.0.0-preview1.22116.1 16,220 3/14/2022
7.0.0-preview1.22068.2 54,846 2/17/2022
6.0.0 13,353,209 11/8/2021
5.0.3 9,014,968 1/5/2021
5.0.2 10,635 10/18/2021
5.0.1 518,801 12/3/2020
5.0.0 115,161 11/12/2020