title: NuGet not restoring packages on build
body: <p>I have just created a workspace on a new machine, got latest of our project from TFS, enabled NuGet Restore, and I get the following (skimmed-down) output:</p>
  
  <pre><code>1&gt;------ Rebuild All started: Project: Caching, Configuration: Debug Any CPU ------
  1&gt;  Restoring NuGet packages...
  1&gt;  To prevent NuGet from downloading packages during build, open the Visual Studio Options dialog, click on the Package Manager node and uncheck 'Allow NuGet to download missing packages'.
  1&gt;  All packages listed in packages.config are already installed.
  1&gt;  Caching Framework -&gt; C:\MyProjLocation\Caching\bin\Debug\Caching.dll
  2&gt;------ Rebuild All started: Project: Library, Configuration: Debug Any CPU ------
  2&gt;C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1635,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "LumenWorks.Framework.IO". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
  2&gt;C:\MyProjLocation\Library\SomeClass.cs(2,7,2,17): error CS0246: The type or namespace name 'LumenWorks' could not be found (are you missing a using directive or an assembly reference?)
  
  ========== Rebuild All: 1 succeeded, 1 failed, 0 skipped ==========
  </code></pre>
  
  <p>None of the NuGet packages were restored (there are over 10 - I removed them from the above output for readability sake).</p>
  
  <p>It looks like NuGet is not even trying to restore the packages for the second project (Library).</p>
  
  <p>I have already tried moving the NuGet targets import below the CSharp targets import in the <code>Library.csproj</code> file, <a href="https://stackoverflow.com/questions/13275050/nuget-package-restore-is-not-restoring-packages-on-build">as mentioned here</a>, but it's still not working:</p>
  
  <pre><code>&lt;Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /&gt;
  &lt;Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" /&gt;
  </code></pre>
  
  <p>I am running the latest version of NuGet (2.7.41101.371) on Visual Studio 2013.</p>
  
  <p><strong>Edit:</strong> The <code>packages.config</code> exists and the NuGet Package Manager has the Library project ticked with the correct packages.</p>