I am in the process of upgrading our existing solution to .Net 4.6.1 and have been unable to get our unit tests to run during a server build. Locally they run as expected an
You can try to change your default processor architecture in your Test Setting from X86 to X64. In my case this was the problem.
This happens if the platform target of your project under test is set to x64.
x64