Stylecop with VS2012 and TFS2012

Jun 20, 2013 at 2:29 PM
Hello,

i want to use StyleCop 4.7 for Visual Studio 2012 and i want to integrate the StyleCop in Team Foundation Server 2012. I try this Documentation:

https://tfsbuildextensions.codeplex.com/wikipage?title=How%20to%20integrate%20the%20extensions%20into%20a%20build%20template&referringTitle=Documentation

After I had made all steps, i became an Error like this:

Error: Could not load file or assembly 'Microsoft.Web.Administration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

I hope someone can help me! Thanks!
giovanni
Jul 23, 2013 at 2:04 PM
Are you sure that error is related to your changes to integrate stylecop in the build?
Someone created a nuget package that might add stylecop to the build with less effort, though I haven't tried it yet: http://www.nuget.org/packages/StyleCop.MSBuild/