This project is read-only.


Assembly manifest expected (TFS2010 Team Build integration)


i searched a lot to find a solution for my problem, but cant find any help in the web, so here is my question:
After upgrading StyleCop from Version to, StyleCop use a new assembly mssp7en.dll (i think its for the new comment spell check feature). The Spell check is by the way not working on our Team Build, but it works like a charm in our local development systems (where StyleCop is installed locally).

I checked-in all new assemblies to our TFS to our custom assembly folder. But now i get following exception in the windows event logs from our build contoller/agent (its the same virtual machine):

Service "BController" had an exception:
Exception Message: Problem with loading custom assemblies: Could not load file or assembly 'file:///C:\Users\<useraccount>\AppData\Local\Temp\BuildController\4\mssp7en.dll" or one of its dependencies. The module was expected to contain an assembly manifest. (type Exception)

Exception Stack Trace: <- empty

As additional info: We are using also the Community TFS Build Extensions for integration of StyleCop in our BuildProcessTemplate.

Any help or link to a solution would be very helpful.

Closed Dec 1, 2016 at 3:55 AM by csdahlberg
Closing this work item due to its age and because development is moving to GitHub. Please open a new issue at if this still needs to be addressed.


andyr wrote Dec 15, 2012 at 1:34 PM

Its trying to load the spelling dll from somewhere and can't find it. Try copying the spelling dlls into the stylecop binaries folder on the build server.

Marlhog wrote Jan 17, 2013 at 9:36 AM

I am using the TFS 'Version control path to custom assemblies' configuration on the build controller. The system downloads all the files from the repository to 'C:\Users\<useraccount>\AppData\Local\Temp\BuildController\4...'

  • CustomDictionary.en-GB
  • CustomDictionary.en-US
  • CustomDictionary
  • mssp7en.dll
  • mssp7en.lex
  • StyleCop.CSharp.dll
  • StyleCop.CSharp.Rules.dll
  • StyleCop.dll
  • StyleCop.VSPackage.dll
  • TfsBuildExtensions.Activities.*.dll
Additionally to this the StyleCop.CSharp.Rules.resources.dll's stored on following subfolders de-DE, en-GB, fr-FR, pl-PL, pt-BR, ru-RU are present in the C:\Users...\BuildController\4...

Dont know whats going wrong, any idea would be helpful...

Marlhog wrote Jan 17, 2013 at 9:38 AM

I also tried to install the StyleCop package directly to the build agent, but this did not help either.

efisher wrote Apr 3, 2014 at 6:54 PM

Btw, still encountering this issue on v4.7.49.0