System.IO.FileNotFoundException when running a test method in NUnit

Feb 3 2009 12:36 AM

Got an exception when tried to run a test in NUnit.

System.IO.FileNotFoundException : Could not load file or assembly 'System.ServiceModel, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

This is the errors i got. I've implemented my code(.net) in MVP pattern. And started generating test cases to presenter class. When running the test i encountered this. But i've added that System.ServiceModel reference, even then same. Please help me out.


Answers (4)