title: Installing private feed Nuget packages from packages.config
body: <p>I have a private nuget feed on one of our internal servers.</p>
  
  <p>I can install packages in this feed from command line like this</p>
  
  <pre><code>nuget install "PackageName" -source "\\DevServer\NugetFeed"
  </code></pre>
  
  <p>However if I try to install the packages from our packages.config file like this</p>
  
  <pre><code>nuget install "MyProject\Packages.config" -source "\\DevServer\NugetFeed"
  </code></pre>
  
  <p>It errors with can't find package for each of the packages in my packages.config file. It looks like it's ignoring the -Source switch and looking in a different nuget feed. </p>
  
  <p>My packages.config looks like this</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;packages&gt;
    &lt;package id="Package1" version="1.0.0" /&gt;
    &lt;package id="Package2" version="1.0.0" /&gt;
  &lt;/packages&gt;
  </code></pre>
  
  <p>Any ideas how I can make this work? Can you include the source location in packages.config or something similar?</p>