Nuget - Don't see allow nuget to download missing packages during build

后端 未结 4 1072
走了就别回头了
走了就别回头了 2020-12-23 19:13

I get a message saying the following:

Error 1 Package restore is disabled by default. To give consent, open the Visual Studio Options dialog,

4条回答
  •  天命终不由人
    2020-12-23 19:49

    I did not seem to have the "Package Manager" node under Tools->Options [this was in Visual Studio 2013 :-)]. To get that node in there, I browsed to Tools -> Extensions and Updates and searched for nuget. Installing "NuGet for Visual Studio 2013" got me the node and the option to allow package restore!

提交回复
热议问题