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:
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.
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?
The thing that’s denying access to NuGet here is a Visual Studio configuration setting.