An exception occurred while test discoverer 'NUnit3TestDiscoverer' was loading tests. Exception: Object reference not set to an instance of an object.
See original GitHub issueUsing MS Visual Studio Professional 2015 Visual c# 2015 Nunit version 3.12.0 Nunit3 version 3.16 .Net framework 4.5.2 I opened a solution and it works. Tests are discovered. I made some changes to a line of code and rebuild. I got An exception occurred while test discoverer ‘NUnit3TestDiscoverer’ was loading tests. Exception: Object reference not set to an instance of an object. If i change default processor architecture(Test->Test settings ) from x86 to x64 or x64 to x86 it will work once. Same error occurs during the next rebuild

-``
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
An exception occurred while test discoverer ' ...
I've installed the NUnit v3.12, Selenium WebDriver v3.141, NUnit3TestAdapter v3.17 extensions. If I'm unable to download the Browser Driver why ...
Read more >An exception occurred while test discoverer ' ...
An exception occurred while test discoverer 'NUnit3TestDiscoverer' was loading tests. Exception: Object reference not set to an instance of ...
Read more >NUnit exception occurred while test discoverer was loading ...
An exception occurred while test discoverer 'NUnit3TestDiscoverer' was loading tests. Exception: Could not load file or assembly ...
Read more >Developers - An exception occurred while test discoverer ...
An exception occurred while test discoverer 'NUnit3TestDiscoverer' was loading tests. Exception: Object reference not set to an instance of ...
Read more >Null Reference Exception: Object Reference Not Set to an ...
I'm having issues with having my character pick up items due to the Null Reference Exception: Object Reference Not Set to an Instance...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It is a known issue. Try to downgrade to https://github.com/nunit/nunit3-vs-adapter/releases/tag/V3.16.1
@shahnawazm786 You’re using the NUnit 2 testadapter. That will not work with NUnit 3.