ict.ken.be

 

NuGet install missing references when you have a packages.config

Related Posts

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 !