Visual Studio required to run MSTest test on Team City Build Server?
We are setting up a Team City build se开发者_运维知识库rver. 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?
- Download the Visual Studio Agents 2010 ISO: http://www.microsoft.com/en-us/download/details.aspx?id=1334
- Mount/Extract the files and copy them to the agent server
- Run AutoRun and select to install Microsoft Visual Studio Test Agent 2010
- Install using the default settings
- 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.
精彩评论