StyleCop.Analyzers 1.3.18-beta

This is a prerelease version of StyleCop.Analyzers.
There is a newer prerelease version of this package available.
See the version list below for details.

Requires NuGet 2.7 or higher.

dotnet add package StyleCop.Analyzers --version 1.3.18-beta
                    
NuGet\Install-Package StyleCop.Analyzers -Version 1.3.18-beta
                    
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="StyleCop.Analyzers" Version="1.3.18-beta">
  <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="StyleCop.Analyzers" Version="1.3.18-beta" />
                    
Directory.Packages.props
<PackageReference Include="StyleCop.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 StyleCop.Analyzers --version 1.3.18-beta
                    
#r "nuget: StyleCop.Analyzers, 1.3.18-beta"
                    
#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 StyleCop.Analyzers@1.3.18-beta
                    
#: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=StyleCop.Analyzers&version=1.3.18-beta&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=StyleCop.Analyzers&version=1.3.18-beta&prerelease
                    
Install as a Cake Tool

StyleCop.Analyzers

An implementation of the StyleCop rules using Roslyn analyzers and code fixes. The analyzers report style and consistency issues in C# code while you build or edit, and many of them include code fixes.

Getting started

Add the package to each project you want to check:

dotnet add package StyleCop.Analyzers

The package is a development dependency, so it is not added as a dependency of your own package.

Configuration

  • Use an .editorconfig file or a rule set to change the severity of individual rules, or to turn rules off.
  • Use a stylecop.json file to customize the behavior of certain rules, such as the file header or the ordering of using directives. See Configuration.md.

Documentation

Feedback

Report bugs and ask questions in the GitHub repository.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (326)

Showing the top 5 NuGet packages that depend on StyleCop.Analyzers:

Package Downloads
NI.CSharp.Analyzers

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

StyleCop.Analyzers.Error

This package with make build warnings as error

DocWorks.Common

This is common code in DocWorks CMS Application

DocWorks.Common.SEDAEvents

This is common code in DocWorks CMS Application

OBeautifulCode.Build.Analyzers

The internal analyzers to use.

GitHub repositories (480)

Showing the top 20 popular GitHub repositories that depend on StyleCop.Analyzers:

Repository Stars
jellyfin/jellyfin
The Free Software Media System - Server Backend & API
PowerShell/PowerShell
PowerShell for every system!
dotnet/runtime
.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
OpenRA/OpenRA
Open Source real-time strategy game engine for early Westwood games such as Command & Conquer: Red Alert written in C# using SDL and OpenGL. Runs on Windows, Linux, *BSD and Mac OS X.
Radarr/Radarr
Movie organizer/manager for usenet and torrent users.
winsw/winsw
A wrapper executable that can run any executable as a Windows service, in a permissive license.
App-vNext/Polly
Polly is a .NET resilience and transient-fault-handling library that allows developers to express policies such as Retry, Circuit Breaker, Timeout, Bulkhead Isolation, and Fallback in a fluent and thread-safe manner. From version 6.0.1, Polly targets .NET Standard 1.1 and 2.0+.
kgrzybek/modular-monolith-with-ddd
Full Modular Monolith application with Domain-Driven Design approach.
lepoco/wpfui
WPF UI provides the Fluent experience in your known and loved WPF framework. Intuitive design, themes, navigation and new immersive controls. All natively and effortlessly.
gitextensions/gitextensions
Git Extensions is a standalone UI tool for managing git repositories. It also integrates with Windows Explorer and Microsoft Visual Studio (2015/2017/2019).
reactiveui/ReactiveUI
A composable, cross-platform MVVM framework for .NET inspired by functional reactive programming. It moves mutable state out of the user interface, keeps each feature's logic in one readable place, and makes applications easier to test. Supports WPF, WinForms, WinUI, .NET MAUI, Avalonia, Uno Platform, Blazor and Android.
OrchardCMS/OrchardCore
Orchard Core is an open-source modular and multi-tenant application framework built with ASP.NET Core, and a content management system (CMS) built on top of that framework.
TheAlgorithms/C-Sharp
All algorithms implemented in C#.
PixiEditor/PixiEditor
PixiEditor is a Universal Editor for all your 2D needs
Richasy/Bili.Uwp
适用于新系统UI的哔哩
microsoft/ailab
Experience, Learn and Code the latest breakthrough innovations with Microsoft AI
dotnet/wpf
WPF is a .NET Core UI framework for building Windows desktop applications.
StackExchange/StackExchange.Redis
The Redis client for .NET
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.
CommunityToolkit/WindowsCommunityToolkit
ARCHIVE - New Repo: https://aka.ms/toolkit/windows
Version Downloads Last Updated
1.3.109-beta 0 10/17/2026
1.3.98-beta 868 10/16/2026
1.3.82-beta 2,277 10/15/2026
1.3.79-beta 5,766 10/14/2026
1.3.18-beta 6,457 10/13/2026
1.3.1-beta 4,758 10/12/2026
1.2.0-beta.556 61,920,728 12/20/2023
1.2.0-beta.507 8,643,264 6/21/2023
1.2.0-beta.435 18,884,505 5/3/2022
1.2.0-beta.406 3,494,239 1/28/2022
1.2.0-beta.376 2,089,291 12/9/2021
1.2.0-beta.354 5,896,125 6/17/2021
1.2.0-beta.333 5,460,852 3/11/2021
1.2.0-beta.321 1,697,157 12/31/2020
1.2.0-beta.312 435,230 12/8/2020
1.2.0-beta.304 567,028 12/5/2020
1.2.0-beta.261 852,108 11/1/2020
1.2.0-beta.205 1,589,356 7/30/2020
1.1.118 135,147,424 4/29/2019
Loading failed