Created
September 16, 2012 03:38
-
-
Save davidalpert/3730925 to your computer and use it in GitHub Desktop.
Use powershell and the nuget.copy.extension to copy all packages from a config file to a local file share.
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
| E:\Dev\YourSolutionFolder> foreach ($package in ([xml](Get-Content .\YourProject\packages.config))).packages.package) { nuget copy $package.id -version $package.version -dest c:\localshare\ } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment