Windows · Developer Tools
StyleCop
StyleCop analyzes C# source code to enforce a set of style and consistency rules.
Version 4.7.55.0 · by andyr, HowardvanRooijen
Official site: stylecop.codeplex.com
About StyleCop
StyleCop analyzes C# source code to enforce a set of style and consistency rules. It can be run from inside of Visual Studio or integrated into an MSBuild project. StyleCop has also been integrated into many third-party development tools.
The package installs the standalone StyleCop binaries, an extension for Visual Studio 2008-2015 and an extension for ReSharper 8.2 or earlier.
**This is the last version of StyleCop published as an MSI installer.** Later StyleCop releases (5.x) provide separate packages for the Visual Studio extension ([stylecop-vsix](https://chocolatey.org/packages/stylecop-vsix)) and the ReSharper extension (installable from the ReSharper gallery).
This version is compatible with the following versions of ReSharper:
* 5.1 (5.1.3000.12)
* 6.0 (6.0.2202.688)
* 6.1 (6.1.37.86)
* 6.1.1 (6.1.1000.82)
* 7.0.1 (7.0.1098.2760)
* 7.1.1 (7.1.3000.2254)
* 8.2.3 (8.2.3000.5176)
* 9.2 (103.0.0.0) - as an extension from the ReSharper gallery
** NOTE: An error may be displayed when the extension is first installed, but everything should still work normally
* 10.0.2 (104.0.0.0) - as an extension from the ReSharper gallery
** NOTE: An error may be displayed when the extension is first installed, but everything should still work normally
Install order should be :
* Visual Studio 2008
* Visual Studio 2010
* Visual Studio 2012
* Visual Studio 2013
How to install StyleCop
- Click Download — the developer's official website opens in a new tab.
- Download the latest version there and run it. Choose Custom/Advanced where offered, and skip any bundled extras.
- Prefer the command line? With Chocolatey you can install and update it with: choco install stylecop
- Open StyleCop once it finishes installing.
Frequently asked questions
Is StyleCop free to download?
Yes. The Download button sends you to stylecop.codeplex.com, the developer's official site, where StyleCop is available to download. Grabware doesn't host or modify any files.
What is the latest version of StyleCop?
The version listed here is 4.7.55.0, published /Date(1519. The developer's site always has the newest release.
How do I install StyleCop from the command line?
With Chocolatey, run: choco install stylecop. This installs it from the official source and keeps it updated.
Is StyleCop safe?
StyleCop downloads directly from the developer. As always, scan the installer with your antivirus and choose Custom setup to skip any bundled extras.
Alternatives to StyleCop
More
March 2014 servicing stack update for Windows 8.1 and Windows Server 2012 R2 (KB2919442)The update fixes some issues in the servicing stack of Windows 8.1 and Windows Server 2012 R2.Chocolatey Compatibility ExtensionExtension package to provide compatibility with older versions of Chocolatey
Update for Universal C Runtime in Windows (KB2999226)Update for Universal C Runtime (CRT) in Windows. Before you install this update, check out the prerequisites section.