Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unknown option -RequireConsent

Everything worked fine before I branched my trunk, now this error list shows up in the branch and the trunk. Google search brought up a possible solution in the Nuget blog, which has different error messages than I do.

enter image description here

like image 672
The Muffin Man Avatar asked Aug 22 '12 18:08

The Muffin Man


1 Answers

Asked Jeff Handley via twitter, he responded "nuget.exe update -self"

Works! Strange thing is that it was a complete refresh install of Windows 7 with a new copy of VS2010. And somehow I have Nuget 1.7. Ah well...

C:\Tfs\Products\Development\Project1\.nuget>nuget.exe update -self

Checking for updates from https://nuget.org/api/v2/.
Currently running NuGet.exe 1.7.30402.9028.
Updating NuGet.exe to 2.0.40000.
Update successful.
like image 55
Robert Koch Avatar answered Nov 10 '22 12:11

Robert Koch