Yesterday I mentioned that my NUnit tests were not discovered when I set the Build Target to ‘x64’ and that I had to change it to ‘Any CPU’ to be able to run my tests.
However this only solved part of my problem as my tests started to fail with the following error message:
So back to start…
After some research, I found a solution:
- Inside Visual Studio, click on Test –>Test Settings –>Default Processor Architecture
- This was set to X86. Changing it to X64 solved my problem.