title: Why would Visual Studio give access denied, code 5 error when trying to build solution with NuGet packages?
body: <p>I'm trying to build a Visual Studio solution that references NuGet packages. I've copied the solution from someone else's computer (via Git, but I don't know if the means of copying is important here). I keep getting this command when I try to build the solution:</p>
  
  <pre><code>Error 3 The command ""D:\Custom Work\MySolution\Project\.nuget\nuget.exe" install
      "D:\Custom Work\MySolution\Project\AAIA.Model\packages.config" -source ""
      -RequireConsent -o "D:\Custom Work\MySolution\Project\packages"" exited with code 5.
      Please verify that you have sufficient rights to run this command.
  </code></pre>
  
  <p>I've checked the permissions on all the folders, and they all seem to be fine. No sharing violations either; Visual Studio 2010 is the only program that is touching these files and folders. Why would this be happening?</p>