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
I was getting a similar issue and noticed somehow an app.config file had been added to my test project. Removing this config file fixed it for me.
app.config