First, the definition
StyleCop is a Microsoft open source static Code analysis tool that examines C # code consistency and coding style.
Second, the supporting environment.
jetbrains r# 5.1.3 (5.1.3000.12) jetbrains r# 6.0 (6.0.2202.688) jetbrains r# 6.1 (6.1.37.86) jetbrains r# 6.1.1 (6.1.1000.82) jetbrains r# 7.0.1 (7.0.1098.2760) jetbrains r# 7.1.3 (7.1.3000.2254) jetbrains r# 8.2 (8.2.0.2160) visual Studio, visual Studio-visual Studio 2013
Third, similar products.
CodeRush: A vs plug-in that gives users a better hint. FxCop: A Microsoft free static code Analysis framework.
STYLECOP: Analyze C # source code to execute a set of style and consistency rules. It can run on Microsoft vs or integrate into an MSBuild project.
Four, installation
1,.
http://stylecop.codeplex.com/releases/view/79972
2, the installation process.
Http://www.cnblogs.com/makemelaugh/archive/2010/07/04/1770905.html
V. Open VS after select a class or a class library right-click as:
Running Runstylecop will be displayed in the error warning list.
http://blog.csdn.net/gwblue/article/details/25002813
StyleCop Learning notes-StyleCop