引用System.Windows.Automation [英] referencing System.Windows.Automation

查看:241
本文介绍了引用System.Windows.Automation的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想尝试一些自动化的东西可以通过 BugSlayer ,但我有问题的参考。

I wanted to try out some of the automation stuff available through BugSlayer, but am having problems with the references.

我试图找出如何引用System.Windows.Automation库在Visual Studio。我已经安装了.NET Framework v3.5版本,和VS 2008,但无论是UIAutomationClient也不System.Windows.Automation出现无论是在.NET或COM选项卡中引用的参考选项。

I'm trying to figure out how to reference the System.Windows.Automation library in visual studio. I have the .NET Framework v3.5 installed, and VS 2008, but neither the UIAutomationClient nor System.Windows.Automation appear as a reference option in either the .NET or COM tabs for the references.

我可以看到该dll,如果我浏览到 C:\ WINDOWS \组装\ GAC_MSIL \ UIAutomationClient \ 3.0.0.0__31bf3856ad364e35 通过命令提示符,但如果我浏览在Visual Studio中的组件,我无法真正得到的dll文件。

I can see the dll if I navigate to C:\WINDOWS\assembly\GAC_MSIL\UIAutomationClient\3.0.0.0__31bf3856ad364e35 through the command prompt, but if I browse to the assembly in Visual Studio, I can't actually get to the dlls.

难道我忽略了一个简单的方法,包括在我的项目?

Have I overlooked a simple way to include this in my project?

推荐答案

UIAutomationClient.dll 位于此文件夹中:

C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.0

如果你不能找到你的添加参考 - >净标签,那么你必须使用浏览设置页转到指定的路径,并添加组件(右键点击引用,选择添加引用,点击浏览设置页)。

If you can't find in your Add Reference->.Net tab, then you have to use the Browse tab to go to the given path, and add the assembly (Right Click on the References, choose add reference, click browse tab).

这篇关于引用System.Windows.Automation的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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