0

I have downloaded Google WEB API sample project. Solution explorer contains .nuget folder that is missing on my machine. NuGet itself is installed on my system. Currently build project rices error:

Error 1 This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is C:\pro\gplus-quickstart-csharp-master\.nuget\NuGet.targets. C:\pro\gplus-quickstart-csharp-master\gplus-quickstart-csharp\gplus-quickstart-csharp.csproj 196 5 gplus-quickstart-csharp

enter image description here

If I remove .nuget folder I have the same error.

How to configure NuGet in my system to make project build?

Soner Gönül
  • 97,193
  • 102
  • 206
  • 364
vico
  • 17,051
  • 45
  • 159
  • 315

1 Answers1

1

Have you tried Tools -> Options -> Nuget Package Manager and then selecting Allow Nuget to download missing packages?

Then rebuild your solution

auo
  • 572
  • 1
  • 7
  • 16
  • I don't have "Nuget Package Manager" under Tools -> Options. How to get it there? – vico Feb 08 '16 at 10:05
  • But I have "Packet Manager" and "Allow NuGet to download missing packages" and "Automatically check for missing packages during buid in Visual Studio" are checked – vico Feb 08 '16 at 10:07
  • Which version of Visual studio do you have? If you don't have Nuget then you'll need to install it. https://docs.nuget.org/consume/installing-nuget – auo Feb 08 '16 at 12:01
  • I use VS2013 and I have downloaded and installed NuGet for VS2013 – vico Feb 08 '16 at 13:12
  • http://stackoverflow.com/questions/26315756/enable-nuget-package-restore-on-visual-studio-2013 I think that might have some useful information – auo Feb 08 '16 at 15:50