When I attempt to run my unit tests I get the following error:
System.IO.FileNotFoundException : Could not load file or assembly 'nunit.framework, Version=3.12.0.0, Culture=neutral, PublicKeyToken=2638cd05610744eb' or one of its dependencies. The system cannot find the file specified.
I am able to run these tests in visual studio and I installed the Nunit Console so I am not sure why it is not finding the file. Below is my console command.
nunit3-console.exe "C:\Users\NUnitTestProject1\NUnitTestProject1.csproj"
If I had to investigate this issue I would start with:
The first one will tell us if there is a problem with the path. The second with check if there is an issue with permissions.
Please share your findings here.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.