title: NuGet Pack -- Failed to retrieve information from remote source
body: <p>I am trying to run:</p>
  
  <pre><code>nuget pack project.csproj
  </code></pre>
  
  <p>but because of the directory structure of the project:</p>
  
  <p>A\B\C\Project</p>
  
  <p>it keeps saying:</p>
  
  <p>NuGet.Protocol.Core.Types.FatalProtocolException: Failed to retrieve information from remote source 'A\B\Packages', which it really should be 'A\Packages'.  How do I change where NuGet looks for packages while establishing dependencies.</p>
  
  <p>I have tried putting a NuGet.config in both the project directory as well as the Solution (in .nuget). I added this to the file:</p>
  
  <pre><code>&lt;config&gt;
      &lt;add key="repositoryPath" value="A\Packages" /&gt;
  &lt;/config&gt;
  </code></pre>
  
  <p>in both places and it made no difference (it always says A\B\Packages).</p>