Microsoft StyleCop

1.8 MB   3,770 downloads
4.7.4.0 Ms-PL    
  not rated
Analyzes C# source code to enforce a set of style and consistency rules.

description

download

specifications

changelog

Microsoft StyleCop was designed to analyze C# source code to enforce a set of style and consistency rules. It can be run from inside of Visual Studio or integrated into an MSBuild project 
 
The general idea is to enable the tool for all of your solutions, but disable the tool from analyzing all pre-existing C# files. This provides the following advantages:

- One day one, StyleCop will not generate any violations against your code, and will have zero measurable impact on your team.
- Each time a new C# file is added to any project in your solutions, StyleCop will begin analyzing the code in that file. This will ensure that code in new files will be compliant from the start.
- Over time, pre-existing files can be slowly cleaned up and introduced to StyleCop one by one.

This technique will allow your developers to slowly get used to the tool over time, without having to be confronted with thousands of StyleCop violations on day one.
READ MORE   
Last updated on January 13th, 2012