Roslynator.CodeAnalysis.Analyzers 5.0.1

Prefix Reserved

Requires NuGet 2.8 or higher.

dotnet add package Roslynator.CodeAnalysis.Analyzers --version 5.0.1
                    
NuGet\Install-Package Roslynator.CodeAnalysis.Analyzers -Version 5.0.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="Roslynator.CodeAnalysis.Analyzers" Version="5.0.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="Roslynator.CodeAnalysis.Analyzers" Version="5.0.1" />
                    
Directory.Packages.props
<PackageReference Include="Roslynator.CodeAnalysis.Analyzers">
  <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 Roslynator.CodeAnalysis.Analyzers --version 5.0.1
                    
#r "nuget: Roslynator.CodeAnalysis.Analyzers, 5.0.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.
#:package Roslynator.CodeAnalysis.Analyzers@5.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Roslynator.CodeAnalysis.Analyzers&version=5.0.1
                    
Install as a Cake Addin
#tool nuget:?package=Roslynator.CodeAnalysis.Analyzers&version=5.0.1
                    
Install as a Cake Tool

Roslynator.CodeAnalysis.Analyzers

A collection of analyzers for Roslyn API, powered by Roslyn.

Use this package for projects that reference Roslyn (Microsoft.CodeAnalysis*) packages.

Requirements

  • Visual Studio 2022 or 2026
  • VS Code with C# extension 1.21.13 or higher
  • Roslyn 3.8.0 or higher (when used directly, not as part of an IDE)

Usage

  • Add the package to your project:

    dotnet add package roslynator.codeanalysis.analyzers
    
  • Use EditorConfig to configure analyzers.

Feedback

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on Roslynator.CodeAnalysis.Analyzers:

Package Downloads
Bet.CodeAnalyzers

King Dadic Consulting LLC Code Analyzers.

ChartedCode.Sdk.Standards

Charted Code C# Standards ruleset (using Roslynator analyzers) and a git versioning helper.

DefaultCSharp

Editor configuration reusable between projects, totaly opinionated.

UnionResult

Package Description

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Roslynator.CodeAnalysis.Analyzers:

Repository Stars
microsoft/semantic-kernel
Integrate cutting-edge LLM technology quickly and easily into your apps
Version Downloads Last Updated
5.0.1 106,990 10/4/2026
5.0.0 192,042 8/21/2026
4.16.1 59,175 8/16/2026
4.16.0 34,605 8/8/2026
4.15.0 2,306,902 12/14/2025
4.14.1 968,854 10/5/2025
4.14.0 599,042 7/26/2025
4.13.1 1,615,751 2/23/2025
4.13.0 32,213 2/9/2025
4.12.11 98,092 1/28/2025
4.12.10 150,604 12/17/2024
4.12.9 299,196 10/25/2024
4.12.8 89,397 10/11/2024
4.12.7 152,580 10/1/2024
4.12.6 25,231 9/23/2024
4.12.5 27,359 9/13/2024
4.12.4 1,199,419 6/1/2024
4.12.3 154,149 5/10/2024
4.12.2 38,772 4/23/2024
4.12.1 106,058 4/15/2024
Loading failed