Skip to content

Instantly share code, notes, and snippets.

@christiansparre
Created February 16, 2016 20:33
Show Gist options
  • Select an option

  • Save christiansparre/a8ef842749ee27cc9413 to your computer and use it in GitHub Desktop.

Select an option

Save christiansparre/a8ef842749ee27cc9413 to your computer and use it in GitHub Desktop.
Reinstall nuget package
Param(
[string]$packageName,
[string]$source
)
UnInstall-Package $packageName -RemoveDependencies -Force -ErrorAction SilentlyContinue
Install-Package $packageName -IncludePreRelease -Source $source
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment