Integrating StyleCop with Visual Studio 2010

Coordinator
Jul 15, 2009 at 9:17 PM

I found that this can be done by manually entering the import directive for StyleCop into the project file. See http://blogs.msdn.com/sourceanalysis/pages/source-analysis-msbuild-integration.aspx . It is not specific for 2010 but works just the same. You do not have to modify the project files for Noboru. I have already done this. You do have to have StyleCop 4.3.1.3 installed on your development machine with the "MSBuild Files" options. If you don't have this the compile will fail.

Thanks,

Scott

Coordinator
Jul 16, 2009 at 12:20 AM

Additionally if you don't have StyleCop or the StyleCop MSBuild installed the project will not load.

You will also be ask if it's OK to load the project with this import the first time you load the project.

Thanks,

Scott