Embed 2 dll with the same strong name but different version...
Hi,
I'm seeking expert to solve a programming problem.
I have a C# library in which I would like to embed 2 COM dll let's called them COMHELP.dll
I have 2 of them with the same name of course but they are 2 different versions.
I would like to embed them in my library and being able to code my library so it uses the right one as this lib is registered on 2 different machines.
I explain, Let say I have MACHINE1 and MACHINE2, I would like to deploy my library and the library is aware of which COMHELP.dll to use inside it when it is used in a certain MACHINE
So if the library is used on MACHINE1, the library should use the COMHELP version that match the MACHINE1 and if the library is used on MACHINE2, it must use the COMHELP version that match the MACHINE2
Why all this ? Because the COMHELP vendor always have the same name for their dll and releases a lof of new version and each time we must remove the reference to the old version and reference the new version for the customer we have to deploy the library. This is very complicated specially when we are multiple programmers with Source Safe in action.
What would be the best and easiest aproach to this ?