How to enable nugets package restore in Visual Studio 2015?

前端 未结 7 541
被撕碎了的回忆
被撕碎了的回忆 2020-12-07 18:51

How do I enable the nuget package restore feature in Visual Studio 2015?

The feature is just missing in my context menu (Yes - I\'ve double checked that I try it on

相关标签:
7条回答
  • 2020-12-07 19:33

    I had a problem with accessing the packages folder after starting Visual Studio 2015 in Administrator mode, so I deleted it with the intention of performing a restore.

    But no restore was performed when rebuilding the solution, and there was no Restore Packages to be found at the solution level or in the Nuget window.

    However, if you right-click the References nodes on the projects in the solution, there is a Restore Packages option. Running this on all projects fixed it for me.

    0 讨论(0)
提交回复
热议问题