Issue: The following error message appears:
System.IO.FileLoadException: Could not load file or assembly
Reason: The activity version cannot be loaded for some reason.
Solution: Do the following:
-
Check whether the activity version used is located in the correct format inside the activity folder of the Hyland RPA Designer and is not nested:
...\Activities\AM.Core.Activities.1.3.1\AM.Core.Activities.1.3.1
-
Check if DLLs are blocked. This might be the case if the activity version used was downloaded. There are two possible ways to solve this:
- Right click on the DLL, Properties, Unblock button.
- Start Windows "Powershell" from inside the file explorer and use the command "get-childitem "C:\AnotherMonday\Activities\AM.Core.Activities.xxxxs" | fire unblock-file" (for more details you can have a look at https://stackoverflow.com/a/45221477/5066962.