Created
December 14, 2012 15:25
-
-
Save kberridge/4286245 to your computer and use it in GitHub Desktop.
This powershell script performs the same function as VS's nuget package restore, but it does so without modifying the project files. So shared projects can still be shared between different solutions with different file layouts (or even some doing package restores and some not). The downside is it doesn't integrate with msbuild, so you have to r…
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$packageConfigs = dir -r -include packages.config -exclude **\.hg\** | %{ $_.FullName } | |
$packageConfigs | %{ nuget.exe install $_ } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment