I have a program that is primarily an addin to another program. I have my core logic, UI, etc. in a single project which can also be used independently of the parent program. Then I have a 'connector' piece that connects my program to the parent program and is essentially a communicator between the two. I also support multiple versions of the parent software.
Now here is the issue. I have my core program that uses System.Windows.Interactivity.dll. It seems the parent program also uses this, but earlier supported versions of the parent use the .NET 4.0 version of interactivity and later supported versions use .NET 4.5 version.
My core software works if I compile with the 4.0 version or the 4.5 version, but when it's running inside the parent, if I have the 4.5 version it breaks in earlier versions and if I have 4.0 installed it breaks in later versions...
Is there a way I can create two different builds that compile on the different dll files? I guess I'm going to need to have two different install locations based on which one I want?