由于App.config中的System.Runtime绑定,VS2017 MSTEST发现失败

时间:2017-09-28 19:47:21

标签: visual-studio nuget mstest

每当我的MSTEST项目在System.Runtime的{​​{1}}元素下都有runtime个绑定时,Test Explorer中的测试发现就会失败。 “输出”窗口中的“测试”输出如下所示:

app.config

[9/28/2017 12:37:17 PM Informational] ------ Discover test started ------ [9/28/2017 12:37:18 PM Warning] The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047) [9/28/2017 12:37:18 PM Informational] ========== Discover test finished: 3 found (0:00:00.8953713) ========== [9/28/2017 12:37:18 PM Informational] No tests found to run. 绑定看起来像这样:

System.Runtime

由于NuGet安装/更新,声明了此绑定。

0 个答案:

没有答案