Skip to content
Analyzes C# source code to enforce a set of style and consistency rules.
Branch: master
Clone or download
csdahlberg Merge pull request #220 from Thieum/vs2019-support
Added support for Visual Studio 2019 to the Visual Studio extension.
Latest commit 5e88e23 Apr 9, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Dependencies Added Visual Studio 2011 SDK dependencies and updated projects to ref… Jan 24, 2018
Project VS2019 support for vsix Apr 3, 2019
Tools/StyleCop Removed no-longer-used build-related scripts and files. Jan 23, 2018
.gitattributes Added gitignore + gitattributes Aug 7, 2015
.gitignore
License.Rtf Another crack at line ending normalisation Sep 2, 2015
License.html Removed a link from License.html that pointed to the IronPython project. Nov 23, 2016
README.md
logo.png

README.md

StyleCop

Gitter

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, and 2017 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.

Considerations

While pull requests will continue to be accepted, it is unlikely that any major development 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 recommended for developers who use only Visual Studio 2015 or later.

You can’t perform that action at this time.