title: Nuget packages.config and specific version
body: <p>I am trying to create a Nuget package from my project following this guide <a href="http://docs.nuget.org/docs/creating-packages/creating-and-publishing-a-package" rel="noreferrer">http://docs.nuget.org/docs/creating-packages/creating-and-publishing-a-package</a></p>
  
  <p>I have successfully created a nuspec and nupkg. My project contains a dependency to Json.NET which I installed via Nuget. However, I want to specify a specific version of Json.NET to use, version 4.0.7. I added the below to my nuspec:</p>
  
  <pre><code>&lt;dependencies&gt;
    &lt;dependency id="Newtonsoft.Json" version="[4.0.7]" /&gt;
  &lt;/dependencies&gt;
  </code></pre>
  
  <p>When I run <code>nuget pack</code> it seems to detect I have a packages.config </p>
  
  <pre><code>Using 'MyProject.nuspec' for metadata.
  Found packages.config. Using packages listed as dependencies.
  </code></pre>
  
  <p>This seems to completely ignore my defined dependency in the nuspec as installing the Nuget package lists the dependencies as >= 4.0.7 which pulls in the latest version 4.0.8.</p>
  
  <p>How can I stop this or preferably keep Nuget pulling in dependencies from the packages.config but allow me to overwrite specific dependencies? </p>