本来可以正常运行的vs2010里的测试工程,在安装vs2012后不能使用了报错“未运行任何测试,因为未加载任何测试,或者选定的测试被禁用”。

通过google找到了  Visual Studio 2010 Not Recognizing Unit Test 链接 http://stackoverflow.com/questions/12181578/visual-studio-2010-not-recognizing-unit-test

我的解决方法是:

1.安装vs2010 sp1,一个多G需要等一段时间

2.把原来的测试工程从解决方案里移除,然后再加入。 

虽然就简单的两步,但用了很长时间才解决。

 

相关文章:

  • 2021-12-06
  • 2021-05-19
  • 2022-12-23
  • 2021-07-31
  • 2022-02-28
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-14
  • 2021-10-30
  • 2021-06-08
  • 2021-12-28
  • 2022-03-07
相关资源
相似解决方案