Question: I'm creating my first nuget package. I added a dependency with a version that is not the latest version. However, I don't want to update to the latest version of this dependency. Is it possible to instruct it to use the specific version?

```
<dependencies>
  <dependency id="NHibernate" version="3.2.0.3001" />
</dependencies>

```

When I install the package I see this:

```
Attempting to resolve dependency 'NHibernate (≥ 3.2.0.3001)'.

```

This creates the following when I install the package.

```
<packages>
  <package id="Iesi.Collections" version="3.2.0.4000" />
  <package id="NHibernate" version="3.2.0.4000" />
</packages>

```

I'd really like to see something like this:
 Attempting to resolve dependency 'NHibernate (3.2.0.3001)'.

Answer: 
From the [NuGet docs site](http://docs.nuget.org/docs/reference/version-range-specification), the complete notations:

[![enter image description here](https://i.stack.imgur.com/RvoQo.png)](https://i.stack.imgur.com/RvoQo.png)
From the user side, you can also constrain the upgrade by specifying allowedVersions in the packages.config.
<http://docs.nuget.org/docs/reference/versioning#Constraining_Upgrades_To_Allowed_Versions>