NUnit Exception Occurred While Test Discoverer Was Loading Tests
If you are using NUnit 3+ with the handy test adapter that shows the tests in the Visual Studio Test Explorer, you might come across an issue loading the tests:
An exception occurred while test discoverer 'NUnit3TestDiscoverer' was loading tests. Exception: Could not load file or assembly 'nunit.engine, Version=188.8.131.52, Culture=neutral, PublicKeyToken=2638cd05610744eb' or one of its dependencies. The system cannot find the file specified.
The result of this is that the tests aren’t visible and you can’t run them.
The solution to this is to locate the following cache folder, and delete it. You’ll need to close Visual Studio while you do this.
When you restart Visual Studio, all should be well.