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.
我们有一个Silverlight解决方案,在我们的旧电脑上运行良好。它是为编写UI测试而设置的,因此项目引用了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.
“Microsoft.VisualStudio.TestTools.UITest.Extension引用的组件。找不到SilverlightUIAutomationHelper'。
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.
我找到了这篇文章,它给出了查找DLL的路径,但是该目录不存在。32位dev VM,我确实有一个C:\Program Files\Common文件10.0 \微软共享\ VSTT \目录中,但它没有UITestExtensionPackages子目录。
What am I missing? How do I install this DLL?
我缺少什么?我如何安装这个DLL?
3 个解决方案
#1
5
Have you installed Visual Studio Feature Pack 2?
是否安装了Visual Studio Feature Pack 2?
Using Microsoft Microsoft Visual Studio 2010 Feature Pack 2, you can create coded UI tests or action recordings for Silverlight 4 applications.
使用Microsoft Visual Studio 2010 Feature Pack 2,您可以为Silverlight 4应用程序创建代码UI测试或操作记录。
It looks like the dll is installed with this.
看起来dll是用它安装的。
源
#2
0
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 Feature Pack 2和Visual Studio Premium。那么这个dll Microsoft.VisualStudio.TestTools.UITest.Extension。SilverlightUIAutomationHelper可以添加silverlight项目,只需添加参考。
#3
0
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:
您必须安装Visual Studio 2010 Feature Pack 2(您需要MSDN许可证)。一旦您这样做,DLL将位于:
C:\Program Files (x86)\Common Files\microsoft shared\VSTT\10.0\UITestExtensionPackages
微软C:\Program Files (x86)\Common文件\ \ VSTT \ 10.0 \ UITestExtensionPackages共享
#1
5
Have you installed Visual Studio Feature Pack 2?
是否安装了Visual Studio Feature Pack 2?
Using Microsoft Microsoft Visual Studio 2010 Feature Pack 2, you can create coded UI tests or action recordings for Silverlight 4 applications.
使用Microsoft Visual Studio 2010 Feature Pack 2,您可以为Silverlight 4应用程序创建代码UI测试或操作记录。
It looks like the dll is installed with this.
看起来dll是用它安装的。
源
#2
0
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 Feature Pack 2和Visual Studio Premium。那么这个dll Microsoft.VisualStudio.TestTools.UITest.Extension。SilverlightUIAutomationHelper可以添加silverlight项目,只需添加参考。
#3
0
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:
您必须安装Visual Studio 2010 Feature Pack 2(您需要MSDN许可证)。一旦您这样做,DLL将位于:
C:\Program Files (x86)\Common Files\microsoft shared\VSTT\10.0\UITestExtensionPackages
微软C:\Program Files (x86)\Common文件\ \ VSTT \ 10.0 \ UITestExtensionPackages共享