Visual Studio required to run MSTest test on Team City Build Server?

冷暖自知 提交于 2019-12-03 09:59:20

问题


We are setting up a Team City build server. On previous VS 2008 projects a full version of Visual Studio has been installed on the build server.

We are now starting a VS 2010 project.

Is it possible to run MSTest tests on the Team City build server without installing Visual Studio?


回答1:


  1. Download the Visual Studio Agents 2010 ISO: http://www.microsoft.com/en-us/download/details.aspx?id=1334
  2. Mount/Extract the files and copy them to the agent server
  3. Run AutoRun and select to install Microsoft Visual Studio Test Agent 2010
  4. Install using the default settings
  5. Cancel out of the "configuration" dialog (you don't need the actual Agent running, just the installed libraries)

Your MSTest build step should run just fine now.



来源:https://stackoverflow.com/questions/6926888/visual-studio-required-to-run-mstest-test-on-team-city-build-server

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