using .net 8 getting error on _automation = new UIA3Automation(); #683
Unanswered
AsheeshGareeb
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello experts,
i am new to Flaui, can anyone help me regarding an urgent help
I migrated my system from .net 4.7 to .net8 now i am getting error on below line
_automation = new UIA3Automation();
System.IO.FileNotFoundException
HResult=0x80070002
Message=Could not load file or assembly 'Accessibility, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
Source=FlaUI.UIA3
StackTrace:
at FlaUI.UIA3.UIA3PatternLibrary.get_LegacyIAccessiblePattern()
at FlaUI.UIA3.UIA3PatternLibrary.get_AllForCurrentFramework()
at FlaUI.Core.AutomationBase..ctor(IPropertyLibrary propertyLibrary, IEventLibrary eventLibrary, IPatternLibrary patternLibrary, ITextAttributeLibrary textAttributeLibrary)
at FlaUI.UIA3.UIA3Automation..ctor()
at CiqproOffice.StepDefinitions.SmokeTestStepDefinitions.GivenILauchExcel() in C:\Users\agareeb\source\repos\CiqproOffice\StepDefinitions\SmokeTestStepDefinitions.cs:line 45
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
Beta Was this translation helpful? Give feedback.
All reactions