Enable NuGet Package Restore on Visual Studio 2013

前端 未结 7 1067
天命终不由人
天命终不由人 2020-12-20 10:48

I\'m following this easy tutorial to start coding with the Google+ API in C#. However, I\'ve been stuck for hours on Step 3, where the first substeps are:

  1. In V
相关标签:
7条回答
  • 2020-12-20 11:43

    You don't want to use the project based nuget package restore!

    Make sure you have the latest Nuget version (Tools -> Extensions and Updates)

    When you go to build the project it should tell you it needs to download the nuget packages (or might just auto download them).

    Edit not sure whats with the downvotes:

    http://blog.davidebbo.com/2014/01/the-right-way-to-restore-nuget-packages.html

    What the NuGet team is now recommending is both a lot cleaner and a lot simpler. In short, you don't do anything special, and it just happens! This is because NuGet now always restores packages before building in VS. So no changes whatsoever are needed on your files, which is beautiful!

    Since people are still having issues editing to include more information:

    https://docs.nuget.org/consume/package-restore#common-issues-with-automatic-package-restore

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