Hi Team,
I am getting an error while running an xaml file. Error is: Compilation failed or was cancelled.
INITIALIZATION: Unable to load the specified dependency ‘C:\Users\game2.nuget\packages\UiPath.cefsharpbundle.netcore\1.11.0\lib/net6.0-windows7.0/chrome_elf.dll’. Reason was: ‘LoadFromFailure. Bad IL format. The format of the file ‘C:\Users\game2.nuget\packages\UiPath.cefsharpbundle.netcore\1.11.0\lib/net6.0-windows7.0/chrome_elf.dll’ is invalid.’.
INITIALIZATION: Unable to load the specified dependency ‘C:\Users\game2.nuget\packages\UiPath.emgucvbundle\1.3.0\lib/net6.0/msvcp140_1.dll’. Reason was: ‘LoadFromFailure. Bad IL format. The format of the file ‘C:\Users\game2.nuget\packages\UiPath.emgucvbundle\1.3.0\lib/net6.0/msvcp140_1.dll’ is invalid.’.
Unexpected error has occurred during the library compilation process:
Unable to create activity builder for Edit_Omastro.xaml. Reason was ‘No matching constructor found on type ‘System.Activities.Activity’. You can use the Arguments or FactoryMethod directives to construct this type. No default constructor found for type ‘System.Activities.Activity’. You can use the Arguments or FactoryMethod directives to construct this type.’.
I reinstalled the studio(community edition), cleared caches and updated all packages but still getting the same error while running any xaml file. Please help to fix this issue.
Thanks in advance.
Regards,
Sabari