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

前端 未结 4 1416
栀梦
栀梦 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

    Another way is adding

    
        
        
    
    

    to file %USERPROFILE%\AppData\Roaming\NuGet\nuget.config.

提交回复
热议问题