未知选项-RequireConsent

时间:2012-08-22 18:40:19

标签: visual-studio tfs nuget

在分支我的主干之前一切正常,现在这个错误列表显示在分支和主干中。谷歌搜索在Nuget博客中提出了一个可能的解决方案,它有不同于我的错误消息。

enter image description here

1 个答案:

答案 0 :(得分:12)

通过Twitter询问杰夫汉德利,他回答说#nu; nuget.exe update -self"

作品!奇怪的是,它是Windows 7的完整刷新安装,带有VS2010的新副本。不知怎的,我有Nuget 1.7。好吧......

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.
相关问题