Reputation: 1461
Situation overview.
We have several projects used in multifunctional system.
The problem
objectAccessLibrary.dll is under development along with core system. It is exposed some interfaces / objects which can be changed from version to version. Therefore dispatcherHandler.dll and DispatcherService should be recompiled and retested with old handlers each time we need to add new handler because it MUST use the newest version of objectAccessLibrary.dll. But from other side DispatcherService MUST be running while hanlder_xx.dll's are dynamically loaded.
The current version working fine if new handlers not using new objectAccessLibrary.dll features. In general case we need to load different versions of objectAccessLibrary.dll and share some objects between them and dispatcherHandler.dll. How to do this?
Upvotes: 0
Views: 224
Reputation: 871
I would recommend looking into some kind of IoC container such as StructureMap or Castle Windsor. Both are pretty mature and will allow you to dynamically load dependencies into your projects. There are many other containers out there as well that may also suit your requirements.
Upvotes: 1