-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UIAutomationClient.dll not found #3283
Comments
@vatsan-madhavan - Any plans to bring automation to Core? |
It's all there. |
@ms0713, Are you using a WindowsDesktop SDK project (Use |
Closing due to thread going stale. Please reopen if you're still having troubles. |
You cant refer it in .Net Core Console Application. Thats limitation. |
This is working. Thanks! |
@vatsan-madhavan Below is a portion of
|
@godrose What do you mean by that, exactly? Did you use Visual Studio's Reference Manager dialog to browse to the location of If my guess is correct, then you can't do that. All WPF assemblies are already implicitly referenced automatically when using One caveat - there is currently a bug in .NET Core 3.0 that excludes theme assemblies from being referenced automatically - see dotnet/wpf#765. We plan to fix it in .NET Core 3.1. |
Thanks for the quick response. The only way I could make this work was
copying the dll manually. I see this as a regression .
On Wed, 18 Sep 2019 at 23:42 Vatsan Madhavan ***@***.***> wrote:
Can't manually reference the assembly
@godrose <https://github.com/godrose> What do you mean by that, exactly?
Did you use Visual Studio's *Reference Manager* dialog to browse to the
location of UIAutomation.dll reference assembly (for e.g., something like C:\Program
Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\3.0.0-rc2-19460-02\ref\netcoreapp3.0\UIAutomation.dll)
and try to add that as a reference in your .NET Core WPF project - like
this ?
[image: image]
<https://user-images.githubusercontent.com/20246435/65184214-e7d45280-da19-11e9-90f4-56c0d84f8a1a.png>
If my guess is correct, then *you can't do that*.
All WPF assemblies are already *implicitly referenced* automatically when
using Microsoft.NET.Sdk.WindowsDesktop - you don't have to do anything.
This includes UIAutomation.dll.
One caveat - there is currently a bug in .NET Core 3.0 that excludes theme
assemblies from being referenced automatically - see dotnet/wpf#765
<dotnet/wpf#765>. We plan to fix it in .NET
Core 3.1.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3283?email_source=notifications&email_token=AB3OIIYBZJ2NWXSYOHCIIADQKKHETA5CNFSM4ISMIKOKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7BME6I#issuecomment-532857465>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AB3OII34KASFH4JJMTWXI6DQKKHETANCNFSM4ISMIKOA>
.
--
Best Regards,
Gena
|
Would you explain your scenario better, possibly with a self-contained minimal repro project attached? I'm not quite following what you are trying to do that requires you to copy Given the fact that |
What if you need to reference UIAutomation in a program which is not a Desktop app and does not use WPF? Is there a reliable way to ref it besides copying over dlls? |
You can use a |
Hello However, I've got this warning below (but the project builds ok). Any idea how to fix that?
|
Issue Title
UIAutomationClient.dll is not found in Reference Assemblies folder for .Net Core 3.0 Preview
General
I want to use System.Windows.Automation in my .Net Core 3.0 console application. When I try to reference UIAutomationClient.dll, i did not find the same in Reference Assemblies folder for .Net Core 3.0. Rather UIAutomationClient.xml is available on following folder
Reference Assemblies/Microsoft/Framework/.NETFramework/v4.X
.Net Framework folders have this UIAutomationClient.dll. i.e. 4.8, 4.7.2 etc..
Am I looking at the wrong place or I need to do something different in .Net Core 3.0 application?
Project Type : .Net Core 3.0 Console Application
Required Namespace : System.Windows.Automation
Required Dll for Reference : UIAutomationClient.dll
Using VS 2019 version 16.3 Preview2
.Net Core SDK version 3.0 Preview8
The text was updated successfully, but these errors were encountered: