When I updated Visual Studio to the latest version, 1 of my test projects stopped running tests and outputted this message:
Test project {} does not reference any .NET N
I had to add the following Nuget packages:
MSTest.TestAdapter
MSTest.TestFramework
Microsoft.NET.Test.Sdk
Visual Studio release notes
Since its just a checkbox, Ive tried disabling the following setting before anything else, and it worked!
Tools -> Options -> Test -> "For improved performance, only use test adapters in test assembly folder or as specified in runsettings file"
I had the same issue and none of the answers above worked.
Installing NUnit3TestAdapter V3.10.0
fixed it.
Adding NuGet packages doesn't work for me.
Disable the following setting (Tools->Options->Test): "For improved performance, only use test adapters in test assembly folder or as specified in runsettings file" works.
For me I felt very foolish after spending hours, trying EVERYTHING, only to find that I had simply forgotten to add the [TestMethod] directive on the unit test method.