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.
|Operating System Support||Windows 8, Windows 2012, Windows 2008, Windows Vista, Windows 7, Windows 2003, Windows XP, Windows 2000, Windows 10, Windows 98|
|Available Languages||English, French, Polish, Chinese, Italian, German, Japanese, Spanish|
|Date||Thursday, April 7th 2016|
|Developer||StyleCop Development Team|
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:
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.