• Review
  • Changelog

StyleCop is a tool that enforces a different set of rules by analyzing the source code. It checks a C# code for coherence to StyleCop’s recommended coding styles. When you write code, you want it to satisfy certain style rules. Moreover, every company has its own style of code writing.  It is much better to use a specialized tool that can analyze your code and fix it according to the coding styles. 

StyleCop Development Team has created a robust and convenient tool that is capable of checking your C# and enforcing a different set of rules from FxCop. The critical point about FxCop is that it checks .NET managed code assemblies. The tool also supports a vast range of plugins.

Why Use StyleCop?

The tool offers the set rules that are classified into categories, such as Layout, Documentation, Maintainability, Naming, Readability, Ordering, and Spacing. StyleCop provides users with a certain coding style, but, fortunately, you can extend rules and functionality by using plugins. 

The tool is available in two forms. The first one is StyleCop Visual Studio Extension that allows using the tool in any project, file, or solution in Visual Studio. It should be mentioned that you can use it without modifying the source code. The extension supports Visual Studio 2010, 2012, 2013, 2015, and 2017. The second form is the StyleCop.MSBuild NuGet package. Using it, you can add StyleCop analysis to any .NET 4.0+ projects. Same as with Visual Studio Extension, there is no need to install additional programs on the system.

Another critical point is the ability to use both GUI and command-line version of StyleCop. Using StyleCop, you can see two menus in any C# project. The first menu is designed to select rules, while the second one to run the rules in the project.

Key features include:

  • Offers the set rules that are classified into categories, such as Layout, Documentation, Maintainability, Naming, Readability, Ordering, and Spacing.
  • Supports a vast range of plugins to extend rules and functionality.
  • StyleCop Visual Studio Extension/ StyleCop.MSBuild NuGet package.
  • The tool includes a GUI and a command-line version.

Summary

Overall,  StyleCop can come in handy if you want to enforce a different set of rules by analyzing the source code. Using it, you receive a huge range of features, such as rules categories, plugins support, and two versions (GUI and command-line).  The last but not the least is the fact that StyleCop is available in two primary versions so that you can run the tool from inside of Visual Studio or you can integrate it into an MSBuild project.

We don't have any change log information for StyleCop 4.7.51 yet. If you have any change log info for this version of StyleCop you can share with us.

Screenshots

More info

  • Last Updated: 2019-08-09
  • Developer: StyleCop
  • Version: 4.7.51
  • File size: 4.32 MB
  • Downloads: 1,498
  • Operating system: Windows 10, Windows 8/8.1, Windows 7, Windows Vista, Windows XP
  • Filename: StyleCop-4.7.51.0.msi
  • MD5 Checksum: 0c043d882930e0c9b0c410713fb70260

Comments