我可以在wpf中更改TestTools.UITest.Dll的路径吗? [英] Can i change path of TestTools.UITest.Dll in wpf?

查看:80
本文介绍了我可以在wpf中更改TestTools.UITest.Dll的路径吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于这个问题,您好,但是可以更改测试dll的位置参考??

Hi sorry for that question but, it is possible to change location reference OF TEST dll???

我有VS 2015企业版,我将所有DLL测试复制到我的subversion文件夹中,添加引用,但VS不会更改路径...该路径为alwais: "C:\ Program Files(x86)\ Microsoft Visual Studio 14.0 \ Common7 \ IDE \ PublicAssemblies \ Microsoft.VisualStudio.TestTools.UITest.****.dll

I have VS 2015 enterprise, i copy all DLL test in my subversion folder, add the reference but VS don't change the path... the path is alwais : "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\PublicAssemblies\Microsoft.VisualStudio.TestTools.UITest.****.dll

你能帮我吗?

路径问题

推荐答案

我发现的最好方法是收集所需的.dll,并使用NuGet将它们打包在一起.然后,您可以将项目引用更改为NuGet软件包,而不是默认安装中的那些.

The best way I've discovered is to collect your required .dlls and package them together using NuGet. Then you can change your project references to the NuGet package rather than those in the default installation.

所以:是的,更改您的.csproj文件(除非您在.NET Core中工作)

So: Yes, change your .csproj files (unless you're working in .NET Core)

这篇关于我可以在wpf中更改TestTools.UITest.Dll的路径吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆