C# visual studio how to relocate nuget package folder?
<p>I hired a contractor to do some coding for me. He setup nuget.config in the solution folder with the following repository path:</p>

<pre><code>&lt;configuration&gt;
  &lt;solution&gt;
    &lt;add key="disableSourceControlIntegration"
      value="true" /&gt;
  &lt;/solution&gt;
  &lt;config&gt;
    &lt;add key="repositoryPath"
      value="../lib" /&gt;
  &lt;/config&gt;
&lt;/configuration&gt;
</code></pre>

<p>And I'm not too happy about his decision: this will place the nuget package folder outside the solution folder. I can easily change the repository path, simply by setting:</p>

<pre><code>value="../&lt;mySolutionFolder&gt;/lib" /&gt;
</code></pre>

<p>However when I do this a curious thing happens: every single reference that I use in my solution is now broken. And nothing that I change in the .csproj files or other *.config files will allow my projects to find their references. </p>

<p>The only workaround is to re-create each project in my solution by starting from scratch, and add->existing items, etc. and reference->manage nuget packages, and install every reference again. </p>

<p>I have many projects in my solution and performing this for every one is understandably time consuming. </p>

<p>I would like to know if there is an easy way? </p>

<p>It seems like there should be a way for Nuget and VS to play nicely so that I can <em>easily</em> move the repository folder to a different path location.</p>