Rating:        Based on 5 ratings
Reviewed:  5 reviews
Downloads: 28139
Change Set: 8c239673d206
Released: May 13, 2016
Updated: May 13, 2016 by csdahlberg
Dev status: Stable Help Icon

Recommended Download

Application StyleCop-
application, 3281K, uploaded May 13 - 27590 downloads

Other Available Downloads

Application StyleCop.
application, 225K, uploaded May 13 - 549 downloads

Release Notes

Changes for this release:
  • Fixed the parsing of properties with object or collection initializers
  • Fixed SA1500 to not flag properties as violations just because there is an initializer on another line
  • Reworked how StyleCop is built
    • Removed the need for Environment.cmd
    • Removed the copies of WiX and Visual Studio SDK files and modified affected projects to use the installed versions

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.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 ( - 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 ( - 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
  • Visual Studio 2015
  • ReSharper (optional)
  • StyleCop
  • StyleCop for ReSharper extensions (optional, and only for ReSharper 9.0 and newer)

Reviews for this release

It's great to see the original StyleCop back in active development. This fits our needs exactly.
by jsrustad on May 18 at 9:08 PM
Could not live without this tool - it makes sure that the public API of our C# class libraries look polished and professional.
by Rob263 on Jun 16 at 6:17 PM
So I was working on one team that required this, Installed, everything worked great. Moved to a different team that didn't require it, but had poorly attempted to set this up in their repository before giving it up.. Guess what, Their entire codebase wouldn't build on my machine! Ok, no big deal, I'll turn it off. Nope. Can't do it. Fine. I'll uninstall. Well, it disappeared from my Add/Remove Programs. And doesn't show in visual studio extensions anymore, but it still prevents building. Ok, I'll try and suppress the error. Oh wait, the stylecop suppression CS causes build errors within stylecop. I'm now on hour 4 of attempting to get this virus off my computer, I've done everything short of reinstalling visual studio. I've run google search after google search, nothing that's been posted does anything to rid me of this cancer. The company I work for is currently in the process of phasing this extension out (The team that used it) due to issues like this. As this Addon has cost me 4 hours of Dev time. (Can't build, can't test). (I even tried turning it off in the globalsettings xml, to no avail). Stay away from this one, if you have trouble, you're screwed.
by thephoenix007 on Jul 19 at 8:15 AM
Cannot tweak the Stylecop settings in Resharper as when the 'Reset C# Code style settings' button is pressed an error occurs. This prevents me from using Resharper to reformat my code (See issue 7727).
by pcripps on Jul 15 at 4:41 PM
by deex_iv on Jun 16 at 11:38 AM