Dependency version

Dec 22, 2011 at 7:40 AM

I have the following packages as follows

  •  MyDll.dll : version 1.0.0.0
    • Dependency
      • OtherDll.dll : version 1.0.0.0
  • OtherDll.dll : version 1.0.0.1

However when I install MyDll.dll package it installs version 1.0.0.1 of OtherDll.dll, inspite of specifying version 1.0.0.0 in the dependencies for MyDll.dll package. It seems to install the latest version for the dependent packages and seems to ignore the version specified.

Is this a bug or am I missing something?

Cheers!

 

 

Developer
Dec 22, 2011 at 3:00 PM

It's the right behavior. Check out http://docs.nuget.org/docs/reference/versioning to see how version specification works.