MSTest doesn’t work

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

Exception has been thrown by the target of an invocation.

用Gallio 3.1也是一样的错误。smile_sad

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

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

del.icio.us Tags: mstest,vs2008,vs2010,.net
posted @ 2010-11-08 17:28  BruceJia  阅读(249)  评论(0编辑  收藏  举报