Skip to content
Branch: master
Go to file

Latest commit

csdahlberg committed 007dc67 Jul 3, 2020
Made it more obvious in descriptions/documentation that this is the S…
…tyleCop "Classic" project to differentiate it from StyleCopAnalyzers.


Failed to load latest commit information.
Latest commit message
Commit time

StyleCop "Classic"

NOTE: This project is no longer very active. See the "Considerations" section below.


StyleCop analyzes C# source code to enforce a set of style and consistency rules. It is available in two primary forms:

  1. The StyleCop Visual Studio extension, which allows StyleCop analysis to be run on any file, project, or solution in Visual Studio without modifying the source code. Visual Studio 2010, 2012, 2013, 2015, 2017, and 2019 are supported by this extension.
  2. The StyleCop.MSBuild NuGet package, which allows StyleCop analysis to be added to any .NET 4.0+ project without installing anything else on the system.

There is also a ReSharper plugin that can be added using ReSharper's Extension Manager.


While pull requests will continue to be accepted, it is unlikely that any major development (including support for newer C# syntax) will be done on this project. It is increasingly difficult and inefficient to maintain the custom C# parser used by StyleCop. The primary motivation for recent maintenance work was to allow developers who were already using StyleCop to upgrade to Visual Studio 2015 and C# 6.

The Roslyn-based StyleCopAnalyzers project is strongly recommended for developers who use only Visual Studio 2015 or later.

You can’t perform that action at this time.