简体   繁体   English

无法在visual studio 2013中运行单元测试

[英]Not able to run unit test in visual studio 2013

I am not able to run unit test on Visual Studio 2013. Initially when the unit test was created, it was able to run and debug. 我无法在Visual Studio 2013上运行单元测试。最初在创建单元测试时,它能够运行和调试。 But after some time, I am not able run unit test from Visual Studio. 但是过了一段时间,我无法从Visual Studio运行单元测试。

在此输入图像描述

禁用运行和调试按钮

The Run and Debug items are disabled. “运行”和“调试”项已禁用。

I have found a solution to this problem. 我找到了解决这个问题的方法。 I removed the Unit Test project. 我删除了单元测试项目。 Then I added it back. 然后我把它加回来了。 I realize I am able to run my Unit Test again. 我意识到我能够再次运行我的单元测试。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM