I have 2 projects in my solution, one is the actual code (NUnitSample1) while the other is the test project (NUnitSample1.Test) with the unit tests. NUnitSample1.Test contains a reference of the first project NUnitSample1. The Build Output path for both projects are different and are explicitly specified. The CopyLocal
property of the NUnitSample1 project reference needs to be set to false
.
Now, when I build and try to run the unit test using ReSharper, it fails with the following message:
System.IO.FileNotFoundException : Could not load file or assembly 'NUnitSample1, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
I guess this is because the binaries are in separate folders. Is there any way to run the tests using ReSharper while maintaining this structure?
Aucun commentaire:
Enregistrer un commentaire