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 (3.5.6.0) is tied to StyleCop version 4.4.0.9, but the current (and only available) version of StyleCop is release candidate 4.4.0.12.

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

Any suggestions for how to fix this?

Coordinator
Jul 15, 2010 at 10:20 AM

You could download the latest code in the 3.5.7.0 or 4.0.1.0 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: http://msbuildextensionpack.codeplex.com/releases/view/39087

Mike

Jul 15, 2010 at 10:32 AM

Thanks very much for that speedy fix Mike!

Andy

Jul 15, 2010 at 3:25 PM

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

-Suresh.

Aug 2, 2010 at 11:57 AM
Hi, I am having the same problem with Style cop 4.4.0.14. regards, Sharat
Aug 2, 2010 at 1:11 PM
just noticed that 4.4.0.14 reference has been updated in the code.
Coordinator
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.

Mike