How to build a library against different dependency versions

Mar 24, 2011 at 10:30 AM

Hi all,

I would like to know if anyone has a solution for this problem:

I have created a library which uses another open source project. The open source project has several versions and since I want my library to be used for each of those version I have to compile my library against each of those versions (I don't really want the user to have to use assemblybindings). 

What is the best approach to this? 




Mar 24, 2011 at 6:22 PM

In NuGet 1.2 (which should be out very soon), binding redirects get added completely automatically, which means it will just work. The user won't even need to know or care about it. You can test a pre-release build today from the CI machine.


Mar 25, 2011 at 1:28 PM

Ha cool, thanks for the info I will be trying this over the weekend.

Thank you for your quick response.