No test found. Make sure that installed test discoverers & executors, platform & framework version settings are appropriate and try again

前端 未结 30 1770
广开言路
广开言路 2020-12-05 04:00

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

30条回答
  •  既然无缘
    2020-12-05 04:27

    Found a way! Probably not the most orthodox but it did helped me out in a hurry:

    1. Update the MSTest.TestAdapter and MSTest.TestAdapterFramework packages to the 1.4.0 from the Tools > NuGet Package Manager.
    2. The clean the solution and run the tests again.

    I don't think is anything particular with the version, but updating it certainly cleans whatever reference is bad in the solution/project.

提交回复
热议问题