How to setup single Nuget packages folder for multiple solutions and projects in Visual Studio 2015 : <p>We are developing multiple solutions in Visual Studio 2015. The solutions share some core projects that need nuget packages. The nuget references cannot be resolved when the nuget package is added from one solution and is later opened by another solution.</p>

<p>The folder structure is as follows:</p>

<ul>
<li>Codebase

<ul>
<li>SharedProjects

<ul>
<li>SharedProject1</li>
</ul></li>
<li>SolutionA

<ul>
<li>WebProjectA</li>
<li>packages folder A</li>
</ul></li>
<li>SolutionB

<ul>
<li>WebProjectB</li>
<li>packages folder B</li>
</ul></li>
</ul></li>
</ul>

<p>When I install a nuget package to <code>SharedProject1</code> when <code>SolutionA</code> is opened, the dll reference shows the path to the <code>packages folder A</code>. When <code>SolutionB</code> is opened in another computer, <code>SharedProject1</code> has a reference error since the <code>packages folder A</code> doesn't exist.</p>

<p>I have read this solution: <a href="https://stackoverflow.com/questions/18376313/setting-up-a-common-nuget-packages-folder-for-all-solutions-when-some-projects-a">Setting up a common nuget packages folder for all solutions when some projects are included in multiple solutions</a> but this doesn't solve the problem since the <code>repositoryPath</code> key in the .nuget/NuGet.config file is not applied with <code>Visual Studio 2015</code> and <code>Nuget 3.4.3</code> </p>
