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
In my case, I had to:
Convert test project to netcore 2.0 (was netstandard 2.0)
Add nuget package xunit.runner.visualstudio
xunit.runner.visualstudio
Reference: http://www.neekgreen.com/2017/11/20/xunit-no-test-is-available/