When using UiActivitites such as attach browswer I am getting the following error:
Attach Browser ‘chrome.exe LinkedIn’: Could not load file or assembly ‘UiPath.Activities.RuntimeGovernance, Version=126.96.36.199, Culture=neutral, PublicKeyToken=null’ or one of its dependencies
I reinstalled studio multiple times but it did not help.
I also found the file in the packages folder:
If you have any idea to solve this bug I would appreciate it greatly.
Would you mind sharing a sample project that reproduces the issue, together with your Studio/Robot version?
If you would be willing to also provide the output zip file of the that you can find in your Start menu via a private message to me @loginerror, that would also help a lot
Thank you for providing me with the extra files. Unfortunately, indicating an element from the Attach Browser activity did not cause any errors for me
Could you maybe do these steps to clean your environment a bit:
Hopefully, Studio will re-download all dependencies and the error will be gone
Even though if you reinstall the UiPath, the system cache remains the same and may cause the same error. So, can you try to restart your system? and try to reinstall the package.
Clearing the cache did not help unfortunately. The error still persists.
Could you also clear / remove this location and retry then:
(I should have included that path in the previous post…)
If that doesn’t work, I would still try to play around with different versions of the UIAutomation activity package (maybe downgrading it would help here).
I managed to fix the problem by clearing the cache as you suggested and then removing and reinstalling all the dependencies.
Thank you for your assitance!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.