Created
July 18, 2012 19:47
-
-
Save abombss/3138413 to your computer and use it in GitHub Desktop.
Fix All Nuget Packages in Solution
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
Get-Project -All | %{ $proj = $_; Get-Package -Project $_.Name | %{ $pkg = $_; Uninstall-Package -Id $pkg.Id -ProjectName $proj.Name -Force; Install-Package -Id $pkg.Id -ProjectName $proj.Name -Version $pkg.Version } } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment