I have a project designed for a piece of software. Therefore, I refer to the DLLs for this software in my project so that I can code and create some plugins and extensions for the software through their API.
The problem is that the software has many kinds of versions: Enterprise, Lite, version 1.6, version 1.7, version 2.0, etc. If I want my project to work for all these different versions, I have to duplicate my project and reassign the DLL links to the corresponding software version DLL (I am doing it now). This is very annoying because my code base is the same for all versions, so when I make any updates, I have to synchronize all my duplicate projects, so I have an assembly for each version of the software.
Is there a way that I can have one project, but before I build it, select the version of software to build? I think I'm looking for an easy way to update the paths of DLL links in my project. Any ideas or advice would be greatly appreciated.
(I can use Visual Studio 2008 or 2010 and .NET 3.5 or 4.0 if this helps)
source
share