Reinstalling NuGet packages with NuGet installed as VS Extension

AlexWilson picture AlexWilson · Jul 4, 2011 · Viewed 39.7k times · Source

I would like to be able to install all of the NuGet packages in the packages.config, as per The NuGet docs. NuGet is installed as a VS Extension, and I can't seem to find nuget.exe. Is it possible to run:

nuget i packages.config -o Packages

Without maintaining a seperate copy of nuget.exe on a per project basis?

Answer

Rodolpho Brock picture Rodolpho Brock · Dec 4, 2013

Reinstall all packages in all projects of the current solution:

Update-Package -Reinstall

You can find more information about reinstalling nuget packages here