I want to connect the plugin from the folder that is in the project folder, but not in the folder with the exe file. when connected via Assembly.Load and passing the path of the Dll crashes:

Could not load file or assembly "D: \ github \ lab \ oopLabs \ PCRelated \ PCRelated \ dll \ AES \ AES \ obj \ Debug \ MyAes.dll" or one of their dependencies. The given assembly name or code base is invalid. (Exception from HRESULT: 0x80131047)

I read information about AppDomain , but everywhere we are all wise, can you explain, please, about AppDomain and how to solve it?

  • And why is it not in the program folder? Read the documentation, Fusion Log in the exception, and try LoadFrom instead of Load . - VladD

0