Microsoft.CodeAnalysis.NetAnalyzers
                              
                            
                                10.0.0-preview.25277.101
                            
                        
                            
                                
                                
                                    Prefix Reserved
                                
                            
                    See the version list below for details.
dotnet add package Microsoft.CodeAnalysis.NetAnalyzers --version 10.0.0-preview.25277.101
NuGet\Install-Package Microsoft.CodeAnalysis.NetAnalyzers -Version 10.0.0-preview.25277.101
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="10.0.0-preview.25277.101"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
<PackageVersion Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="10.0.0-preview.25277.101" />
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add Microsoft.CodeAnalysis.NetAnalyzers --version 10.0.0-preview.25277.101
#r "nuget: Microsoft.CodeAnalysis.NetAnalyzers, 10.0.0-preview.25277.101"
#:package Microsoft.CodeAnalysis.NetAnalyzers@10.0.0-preview.25277.101
#addin nuget:?package=Microsoft.CodeAnalysis.NetAnalyzers&version=10.0.0-preview.25277.101&prerelease
#tool nuget:?package=Microsoft.CodeAnalysis.NetAnalyzers&version=10.0.0-preview.25277.101&prerelease
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:
- EnableNETAnalyzers - <PropertyGroup> <EnableNETAnalyzers>true</EnableNETAnalyzers> </PropertyGroup>
- AnalysisLevel - <PropertyGroup> <AnalysisLevel>latest</AnalysisLevel> </PropertyGroup>
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
GitHub repositories (157)
Showing the top 20 popular GitHub repositories that depend on Microsoft.CodeAnalysis.NetAnalyzers:
| Repository | Stars | 
|---|---|
| microsoft/PowerToys 
                                                            Microsoft PowerToys is a collection of utilities that help you customize Windows and streamline everyday tasks
                                                         | |
| 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
                                                         | |
| 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. 
                                                         | |
| Richasy/Bili.Copilot 
                                                            B站第三方 Windows 桌面客户端,使用 Windows App SDK 构建的原生应用
                                                         | |
| dotnet/winforms 
                                                            Windows Forms is a .NET UI framework for building Windows desktop applications.
                                                         | |
| grpc/grpc-dotnet 
                                                            gRPC for .NET
                                                         | |
| HJLebbink/asm-dude 
                                                            Visual Studio extension for assembly syntax highlighting and code completion in assembly files and the disassembly window
                                                         | |
| stratumauth/app 
                                                            📱 Two-Factor Authentication (2FA) client for Android + Wear OS
                                                         | |
| 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
                                                         | 
| Version | Downloads | Last Updated | 
|---|---|---|
| 10.0.100-rc.2.25466.103 | 0 | 9/22/2025 | 
| 10.0.100-rc.1.25451.107 | 0 | 9/22/2025 | 
| 10.0.100-rc.1.25421.113 | 0 | 8/28/2025 | 
| 10.0.0-preview.25380.108 | 0 | 8/11/2025 | 
| 10.0.0-preview.25380.105 | 0 | 8/6/2025 | 
| 10.0.0-preview.25358.103 | 0 | 7/17/2025 | 
| 10.0.0-preview.25321.102 | 0 | 6/25/2025 | 
| 10.0.0-preview.25280.105 | 0 | 6/2/2025 | 
| 10.0.0-preview.25277.114 | 0 | 6/3/2025 | 
| 10.0.0-preview.25277.101 | 0 | 5/29/2025 | 
| 10.0.0-preview.25255.103 | 0 | 5/12/2025 | 
| 9.0.0-preview.25424.3 | 0 | 9/25/2025 | 
| 9.0.0-preview.25275.3 | 0 | 7/11/2025 |