views:

726

answers:

2

Hi,

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

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.

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?

A: 
Ngu Soon Hui
that directory only has one dll on my system, not the one I was looking for. However the "en" folder contains an XML file for the UIAutomationClient.I was able to use a cmd window to manually copy the dll from the GAC to a place where I can access it... it seems to work doing that. I couldn't get at it using explorer though.
tbischel
In that case maybe you have to reinstall .net 3.5 and vs 2008
Ngu Soon Hui
A: 

add Uiautomationclient dll present under .net tab

sharmila