在哪里可以获得 SilverlightUIAutomationHelper.dll?
我们有一个 Silverlight 解决方案,可以在我们的旧计算机上正常运行。它是为编码 UI 测试而设置的,因此项目引用 Microsoft.VisualStudio.TestTools.UITest.Extension.SilverlightUIAutomationHelper。
然后我们有了新机器,显然有一些模糊的配置我们没有在新机器上正确设置,因为现在参考显示了一个警告图标,并且错误列表窗口显示以下警告:
找不到引用的组件“Microsoft.VisualStudio.TestTools.UITest.Extension.SilverlightUIAutomationHelper”。
我发现这篇文章给出了这个路径预计会找到 DLL,但该目录不存在。在我的 32 位开发虚拟机上,我确实有一个 C:\Program Files\Common Files\microsoft shared\VSTT\10.0 目录,但它没有 UITestExtensionPackages 子目录。
我缺少什么?我如何安装这个DLL?
We have a Silverlight solution that worked fine on our old computers. It was set up for coded UI tests, so the projects reference Microsoft.VisualStudio.TestTools.UITest.Extension.SilverlightUIAutomationHelper.
Then we got new machines, and evidently there's some obscure bit of configuration that we didn't get set up properly on the new machines, because now the reference shows a warning icon, and the Error List window shows the following warning:
The referenced component 'Microsoft.VisualStudio.TestTools.UITest.Extension.SilverlightUIAutomationHelper' could not be found.
I found this post that gives the path where this DLL is expected to be found, but that directory doesn't exist. On my 32-bit dev VM, I do have a C:\Program Files\Common Files\microsoft shared\VSTT\10.0 directory, but it doesn't have a UITestExtensionPackages subdirectory.
What am I missing? How do I install this DLL?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您安装了 Visual Studio 功能包 2 吗?
看起来dll是和这个一起安装的。
来源
Have you installed Visual Studio Feature Pack 2?
It looks like the dll is installed with this.
Source
安装 Visual Studio 功能包 2 和 Visual Studio Premium。
然后这个dll Microsoft.VisualStudio.TestTools.UITest.Extension.SilverlightUIAutomationHelper 您可以通过添加引用来添加到silverlight项目中。
Install Visual Studio Feature Pack 2 and Visual Studio Premium.
Then this dll Microsoft.VisualStudio.TestTools.UITest.Extension.SilverlightUIAutomationHelper you can add in silverlight project by just add reference.
您必须安装 Visual Studio 2010 Feature Pack 2(需要 MSDN 许可证)。执行此操作后,DLL 将位于:
C:\Program Files (x86)\Common Files\microsoft shared\VSTT\10.0\UITestExtensionPackages
You MUST install Visual Studio 2010 Feature Pack 2 (for which you need an MSDN license). Once you do that, the DLL will be located at:
C:\Program Files (x86)\Common Files\microsoft shared\VSTT\10.0\UITestExtensionPackages