StyleCop

4.7.51

StyleCop is an open source static code analysis tool* that enable you to enforce a set of style and consistency rules under a subset of Microsoft’s .NET Framework Design Guidelines.

How useful is this software?

Click on a star to rate it!

Average rating 4.6 / 5. Vote count: 22

No votes so far! Be the first to rate this post.

Version4.7.51
Operating System SupportWindows 8, Windows 2012, Windows 2008, Windows Vista, Windows 7, Windows 2003, Windows XP, Windows 2000, Windows 10, Windows 98
Current LanguageEnglish
Available LanguagesEnglish, French, Polish, Chinese, Italian, German, Japanese, Spanish
LicenseFree
DateThursday, April 7th 2016
DeveloperStyleCop Development Team
Developer URLhttps://www.stylecop.codeplex.com/team/view

StyleCop works by analyzing the source code, and allows it to enforce a different set of rules from FxCop, which, (instead of source code) checks .NET managed code assemblies.

The rules are classified into the following categories:

  • Documentation.
  • Layout.
  • Maintainability.
  • Naming.
  • Ordering.
  • Readability.
  • Spacing.

StyleCop is visualised by open any project of C# and right clicking on the project. From here you should be able to view two menus in the project; one helps select the rules, and the other runs these rules on the C# project.

The tool can be run from inside of Visual Studio or it can be integrated into an MSBuild project. StyleCop has also been integrated into numerous third-party development tools as well.

*StyleCop includes both GUI and command line versions of the tool.

Scroll to Top