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

前端 未结 30 1848
广开言路
广开言路 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:17

    This is just to recap the solution brought forward by @Sushil earlier.

    This is a known issue in Team Foundation Server 2015 RTM + Update 1 and will be fixed in Update 2, reference.

    There is a workaround described by @Sushil here, which includes adding a .runsettings file that forces the test runner to older .Net framework (please not that you have to specify it through the "Add/Edit Test Run" dialog as adding it directly in the build process editor will be ignored).

提交回复
热议问题