NuGet package restore - “Package restore is disabled by default. To give consent, open the Visual Studio Options dialog”

前端 未结 4 1415
栀梦
栀梦 2021-02-03 23:17

I\'m trying to use NuGet package restore from the command line on a build server.

nuget install myapp/packages.config

However, I get the follow

4条回答
  •  鱼传尺愫
    2021-02-03 23:29

    I've got one today.

    Had the options checked in Visual studio 2013 but still got the error message. Workaround to set environment variable worked, you should restart visual studio after adding the environment variable

提交回复
热议问题