Delivering solid user friendly software solutions since the dawn of time.

NuGet install missing references when you have a packages.config

Categories: Visual Studio
  1. using the PM console, make a copy of your packages.config file
    [xml]$packages = gc packages.config
  2. delete packages.config
  3. install each package
    $packages.packages.package | % { Install-Package -id $($_.id) -Version $($_.version) }

Remember to put the full path to the packages.config and select the correct project from the PM console dropdown !