Skip to content

Instantly share code, notes, and snippets.

@DavidRogersDev
Last active June 17, 2020 06:56
Show Gist options
  • Save DavidRogersDev/0c237d02a0f121001da8d447e176281f to your computer and use it in GitHub Desktop.
Save DavidRogersDev/0c237d02a0f121001da8d447e176281f to your computer and use it in GitHub Desktop.
Uninstall all Nuget packages from a Project in a solution
Get-Package -ProjectName "YourProjectName" | Uninstall-Package -ProjectName "YourProjectName" -RemoveDependencies
## Add -Force flag on the end to overcome dependancy issues.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment