StyleCop Build Integration

The following article describes how to integrate StyleCop into the build, so that the tool will run automatically whenever a build is performed:  http://blogs.msdn.com/sourceanalysis/pages/source-analysis-msbuild-integration.aspx

1

Setting Up StyleCop MSBuild Integration

This article explains how to integrate the StyleCop tool into an MSBuild based build environment, for StyleCop 4.3 and above. If you are using SourceAnalysis 4.2, please see the following article: http://blogs.msdn.com/sourceanalysis/pages/stylecop-4-2-msbuild-integration.aspx. MSBuild integration will cause the tool to run automatically whenever the code is built, and StyleCop violations will show up alongside compiler errors in the build…

30