Package with same library different dependencies

Topics: General
Aug 28, 2013 at 4:50 PM
Hello,

In my company, we use a tool named IKVM which is used to convert java code to C# dll. These dll are libraries used by others more complex project.
All converted libraries depend on a specific version of IKVM libraries (IKVM.*.dll)

Ex:
Lib1(-ikvm-0.40) was compiled against ikvm v0.40
Lib1(-ikvm-0.47) was compiled against ikvm v0.47

We would like to create a package that embeds those two version so I was thinking if we can create a package with a structure like:
Lib\
    ikvm-0.40\Lib1
    ikvm-0.47\Lib1
or
ikvm-0.40\
          Lib\Lib1
ikvm-0.47\
          Lib\Lib1
depending of a property inside our project telling which ikvm version to use, NuGet will choose the right 'Lib1'.
Can NuGet permit to do things like this or how I can achieve to create a single package gather all ikvm version in ?

Regards.