Jan 28, 2010 at 2:16 PM
Edited Jan 28, 2010 at 2:30 PM
I have Microsoft StyleCop 188.8.131.52 installed and it is the only version of the software I have installed on my build machine. I am trying to use the StyleCop task from this most current version of the MBuild Extension Pack. When I first installed
184.108.40.206, I was getting the same error, but it was saying "Version=220.127.116.11". I found your additional download dll for those using Extension Pack 18.104.22.168 along with StyleCop 22.214.171.124. I downloaded that and put the new files over top the
ones from the 126.96.36.199 install. I figured I would be all set, but I am getting the same error, but with "Version=188.8.131.52" as you can see below:
C:\_BuildMachine\Build Scripts\Shared\Broadway.Scripts.proj(90, 5): FileNotFoundException: Could not load file or assembly 'Microsoft.StyleCop, Version=184.108.40.206, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
The system cannot find the file specified.
Please help... I have spent the past 2 days trying to get this task to work in my build environment. I have the most current release of StyleCop and ExtensionPack. I tried everything that I know how to do, along with everything I could
find on the Internet.
Here is my task from MSBuild, just in case you need that too. Since it is getting to the point of looking for the Stylecop dll, I figure the problem is not in the task.
<Sc Include="$(dirFileTest)\Added.txt" />
<Output TaskParameter="Lines" ItemName="ItemsFromSc" />
<Message Text="%(ItemsFromSc.Identity)" />
SettingsFile="C:\Program Files\MSBuild\Microsoft\StyleCop\v4.3\Settings.StyleCop" />
I just tried the task that someone else listed in one of the postings here and I got the same error. Here is a link to the other task I tried (from the first response).