VS2012 Enable NuGet Package Restore disappears, missing

后端 未结 2 606
独厮守ぢ
独厮守ぢ 2021-01-01 11:21

I have two projects ones a class library and ones an mvc3 project. They both have nuget packages associated with them. On the class library when I right click the solution

2条回答
  •  孤城傲影
    2021-01-01 12:09

    The NuGet package restore context menu item is hidden when the extension detects the presence of a $(SolutionDir).nuget folder containing the nuget.exe, nuget.config and nuget.targets needed to perform package restore.

    The MVC app already has these, so restore should be enabled. If not, simply delete the .nuget folder and you'll see the menu item reappear.

提交回复
热议问题