I will try to make it as simple as possible. I have a pretty simple plugin system that ran into a problem.
I have 2 assemblies:
Plugin.dll refers to Host.exe (which contains the interfaces and classes that Plugin.dll implements and uses).
At runtime, Host.exe loads Plugin.dll through reflection, and this works fine. Except when Host.exe updates and receives a new version number. Then I get an error when I try to load Plugin.dll, saying that Host.exe (with the old version number) cannot be found.
This means that I have to rebuild all the plugins every time Host.exe changes the build number.
Has anyone got a solution?
source
share