Test explorer empty in VS2015 CE Update 3 with xUnit

◇◆丶佛笑我妖孽 提交于 2019-12-24 07:25:55

问题


I just upgraded VS2015 CE to Update 3 and realized that Test Explorer stopped working properly. I had 3 test projects, all of them with these NuGet packages:

<package id="Castle.Core" version="3.3.3" targetFramework="net452" />
<package id="FluentAssertions" version="4.12.0" targetFramework="net452" />
<package id="MediatR" version="2.1.0" targetFramework="net452" />
<package id="Moq" version="4.5.16" targetFramework="net452" />
<package id="Newtonsoft.Json" version="6.0.4" targetFramework="net461" />
<package id="xunit" version="2.1.0" targetFramework="net452" />
<package id="xunit.abstractions" version="2.0.0" targetFramework="net452" />
<package id="xunit.assert" version="2.1.0" targetFramework="net452" />
<package id="xunit.core" version="2.1.0" targetFramework="net452" />
<package id="xunit.extensibility.core" version="2.1.0" targetFramework="net452" />
<package id="xunit.extensibility.execution" version="2.1.0" targetFramework="net452" />
<package id="xunit.runner.console" version="2.1.0" targetFramework="net452" />
<package id="xunit.runner.visualstudio" version="2.1.0" targetFramework="net452" />

everything was working fine but now after the update I cannot see the tests. Any advice?

UPDATE: re-installed VS. Nothing changed. But I noticed that the Test console says that an exception occurred in Microsoft.VisualStudio.TestWindow.UI.TestWindowToolWindowControl


回答1:


This fixed in new update.

https://msdn.microsoft.com/en-us/library/mt752379.aspx

If use not English version VS 2015 Update 3, also can help change language to English.



来源:https://stackoverflow.com/questions/38615007/test-explorer-empty-in-vs2015-ce-update-3-with-xunit

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!