title: Error when trying to enable NuGet Package Restore in new Solution
body: <p>I am getting an error when trying to enable package restore in a new solution I just created. The error in VS2012 is:</p>
  
  <blockquote>
    <p>NuGet Package Manager</p>
    
    <p>An error occurred while configuring the solution to restore NuGet
    packages on build</p>
    
    <p>Unable to read package from path 'NuGet.Build.2.7.0.npkg'.</p>
  </blockquote>
  
  <p>I tried opening the solution in VS2010 to work around the problem and I am also getting an error when trying to enable package restore, but the message is different:</p>
  
  <blockquote>
    <p>NuGet Package Manager</p>
    
    <p>An error occurred while configuring the solution to restore NuGet
    packages on build</p>
    
    <p>Archive file cannot be size 0.</p>
  </blockquote>
  
  <p>I tried creating a new solution, but got the same result.</p>
  
  <p>I then tried doing a repair on VS2012 update 3 and rebooting. Still getting the problem.</p>
  
  <p>I also scanned the folder, project, and solution file for anything NuGet or .nupkg, but there is nothing there.</p>
  
  <p>So how can I get this feature working again? The last time I used it was about a week ago, and I don't remember specifically what I changed since then. I uninstalled the VS Power Tools package that I installed about a week ago, but that didn't fix the problem either.</p>
  
  <p><strong>Update</strong></p>
  
  <p>I followed the "removal" instructions <a href="https://stackoverflow.com/questions/8713616/remove-nuget-package-restore-from-solution">here</a> and used a project I already have as a template to enable package restore manually. However, I am still looking for a better solution because this is a feature I use frequently.</p>
  
  <p>I also tried uninstalling and reinstalling NuGet from visual studio, but I still get the same issue. If memory serves correctly, there was a recent NuGet update (is there a log for VS extension installation so I can check?).</p>