I'm getting a dumb exception on nunit.exe
launch attempt:
System.IO.FileNotFoundException: Could not load file or assembly 'nunit.framework, Version=2.5.5.10112, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77' or one of its dependencies. The system cannot find the file specified.
The version of NUnit is 2.5.9
, installed from MSI package, i.e. different versions! Putting the library into executable's root didn't helped. (The same error for 2.5.5
).
How can it be??
Can it be that it is trying to automatically load a test assembly that was compiled with NUnit 2.5.5?
In that case, I would rather put the missing NUnit dll alonside the test assembly, instead of the NUnit runner. (By making it a part of the build process. In VisualStudio set the CopyLocal property to true for the NUnit.Framework assembly reference, if you are using VS, i.e.)