Visual Studio 2015 with NUnit can not find class lib



I am trying to use NUnit for unit testing in my code base. When I try to run my test cases using ReSharper, I get: 

"System.IO.FileNotFoundException: Could not load file or assembly 'ServicesTests.dll' or one of its dependencies.

ServicesTests is my class lib for my unit tests.

I have also tried to install the NUnit Test Adapter as described here but do not see my test cases in the Test Explorer.
Any ideas on what might be happening?

2 comments
Comment actions Permalink

Here is the solution I found.  I was creating a new class library (package) in VS2015 and it could not find the dll.  When I used just class library VS did find my tests.  Now my error with Resharper is an unsupported version of nunit since I am using the NUnit 3 beta version.

Capture.PNG

0
Comment actions Permalink

Getting the exact same issue with Nunit 3.0.0-rc.  

Can't find the dll...

Obviously this test runner in Resharper was built to support NUnit 3 but not a vNext project

0

Please sign in to leave a comment.