NuGet reference in wrong directory structure
<p>My Web2 solution is failing to compile because some of the packages were hosted in a different directory structure to the rest of the solution, and I deleted this structure and the corresponding "packages" folder.</p>

<p>I used Update-Package -reinstall</p>

<p>Hoping that this would fix it... however it still kicks out this error message on build:</p>

<pre><code>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them.  For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is ..\packages\Microsoft.Net.Compilers.1.0.0\build\Microsoft.Net.Compilers.props
</code></pre>

<p>Now as far as I can tell all the references should be OK, packages.config says:</p>

<pre><code>&lt;package id="Microsoft.Net.Compilers" version="1.0.0" targetFramework="net45" developmentDependency="true" /&gt;
</code></pre>

<p>And the directory structure exists</p>

<pre><code>--Solution Dir
 |-- packages
   |--Microsoft.Net.Compilers.1.0.0
</code></pre>

<p>I tried updating the package and got version 1.3.2, but the error message remained the same, ie version 1.0.0 was missing.</p>

<p>Theres' clearly some reference to this floating around somewhere - but I don't know where to start looking. I'm assuming the ..\packages in the path indicates its looking for the package in the external directory location (as one up was where the original packages were)</p>

<p>Any ideas?</p>

<p>UPDATE:</p>

<p>I copied the packages folder back to its original location outside the solution directory and .... the issue isn't resolved. So maybe that was never the issue in the first place. </p>

<p>However the error message is still reporting a missing NuGet package that to all appearances is actually there.</p>