VS2008中创建了一个project用来做单元测试,在IDE中运行一切正常。然后用mstest命令行去执行,总是失败。错误消息是:

Exception has been thrown by the target of an invocation.

用Gallio 3.1也是一样的错误。MSTest doesn’t work

最后抱着试试看的想法,用VS2010中的mstest重试,通过!

失败的原因还是不知道。难道是不同版本之间的冲突?据说VS2008是外包给腾讯做的,2010外包给了360吧。

.net

相关文章:

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