This project is read-only.

StyleCop version problems

Jul 15, 2010 at 10:00 AM

I'm in the process of upgrading our build server and have run into problems with the StyleCop task. The current version of the extensions pack ( is tied to StyleCop version, but the current (and only available) version of StyleCop is release candidate

As a result I get this error "Could not load file or assembly 'Microsoft.StyleCop, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified."

Any suggestions for how to fix this?

Jul 15, 2010 at 10:20 AM

You could download the latest code in the or branches, compile locally, skip verification for the key and use the new binary, or you could download the new signed binary I just added to the download page:


Jul 15, 2010 at 10:32 AM

Thanks very much for that speedy fix Mike!


Jul 15, 2010 at 3:25 PM

This is great, i had the exact same problem. Thanks a lot for the quick fix.


Aug 2, 2010 at 11:57 AM
Hi, I am having the same problem with Style cop regards, Sharat
Aug 2, 2010 at 1:11 PM
just noticed that reference has been updated in the code.
Aug 2, 2010 at 1:35 PM

Yes, you can download a signed version of the MSBuild.ExtensionPack.StyleCop for StyleCop 4.4.0 RTW from the release page.