Last days i got a strange error.
Could not load file or assembly CodeGenerator.XmlSerializers Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
CodeGenerator = my actual working project
even in fuslogvw.exe it seems to look for that strange assembly
-> Project Properties -> Build
-> Generate serialization assembly = ON
didnt work!
-> Debug
-> Exceptions
-> Reset ALL
WORKS!
details in: FileNotFoundException while calling web service from web service - MSDN Forums - couldn't locate myProject.XmlSerializers
XmlSerializers problems...
Latest Posts
Popular Posts
-
I am *very* keen on automating tests, so I was looking into unit testing a WCF service. If I say "unit test", I mean a fast ,...
-
It's easy I thought, just select the Property of the EntityType and set the Default Value in the Properties window to: DateTime.Now ...
-
*Updated* 26. September 2010: Updated with comments from Adam Cogan *Updated* 27. September 2010: Updated the comparison between anonymo...
5 comments:
Thanks. Any idea why, however? :D
Aaaaaaaaaaaah excellent, that worked for me as well. Thanks!!!!
I tried this and it didn't work, I noticed that the 'Reset all' unchecked the break on all exceptions checkbox, but this didn't help me. I had to enable just my code under. Tools -> Options -> Debugger -> General -> Enable Just My Code (Managed Only) by ticking the checkbox. By original exception message was. {"Could not load file or assembly 'System.Xml.XmlSerializers, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.":"System.Xml.XmlSerializers, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"}
@Anonymous
Thanks for that pointer!
Worked for me too!
Post a Comment