简体   繁体   中英

Is Visual Studio Required to run Coded UI tests on a build server?

I have references to

using Microsoft.VisualStudio.TestTools.UITest.Extension;
using Microsoft.VisualStudio.TestTools.UITesting;

But I'm building on a server without Visual Studio installed.

My builds are failing because these dlls can't be found (their path is in the VS install directory on my local machine)

Does this mean VS is required to run these on the build server? Or can I just copy the dlls into some project folder and add them as references?

The recommended approach is to install VS on the build server and the licensing is such that you are able to do that. The team know that this is not an ideal solution but it's the only one we have today. Note that the build server images provided by Microsoft in the hosted environment ( tfs.visualstudio.com ) have VS2012 and VS2010 installed into them for exactly this type of reason.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM