It was because I never changed the access rights of the Robot from [Robot(AccessRights = AccessRights.None)] to [Robot(AccessRights = AccessRights.FullAccess)]. I'm guessing what was happening was it was trying to load the DLL file but failing because it didn't have permission.
mshaw1989
15 Dec 2022, 23:00
I've worked this out, and I was way off.
It was because I never changed the access rights of the Robot from [Robot(AccessRights = AccessRights.None)] to [Robot(AccessRights = AccessRights.FullAccess)]. I'm guessing what was happening was it was trying to load the DLL file but failing because it didn't have permission.
@mshaw1989