I have two C# DLLs - an "api" dll, a collection of interfaces for an application, and a "plugin" dll, code that uses the API to extend our application.
Whenever I make a new "api" build, the plugin dll fails to load in our application:
The classes in the module cannot be loaded.
To fix this, we simply have to rebuild the plugin (since it's using the "latest" API dll.
My guess is it has to do with how Visual Studio or the compiler is versioning the DLLs. Right now the API dll is versioned as 1.0.6469.2848
which is automated.
I need a bit more flexibility but I don't know how to go about it. I'm choosing the wrong terminology when looking for solutions.
Preferably, I'd like something closer to semver - my plugin DLL should continue to load/work if it was compiled against api version 1.0.1, even if my application has api version 1.0.2, or 1.1. Only 2.x, "backwards-compatibility breaking API changes" should be rejected.