Running VS2010 UnitTests project from TFS2008 Team Build

十年热恋 提交于 2019-11-29 05:17:43

You need VS 2010 Premium or Ultimate installed to use those switches in MSTest.exe. You can get around this sort of by just doing an Exec of MSTest with the switches you want, but then you won't see the results as nicely in your build.

The switches are added because MSTest is trying to publish the test results to the server so that you can see the information in the build log in team build explorer, as well as in the cube for reporting, etc.

Assuming you installed Team Explorer 2010 when you installed VS2010 Professional you should be able to publish the test results (unless the licensing requires premium or ultimate - I can't remember). It might be worth reinstalling and reapplying the service pack to see if that fixes the problem.

I had problem with spaces in my dll-path. The quotation marks didn't work (probably because I missed something obvious?). I did NOT have VS installed on the machine.

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