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
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