Nuget command line – uninstall package from all projects

By eidias on (tags: None, categories: tools)

I’m not a fan of the nuget GUI – I prefer the command line but there’s been a ‘feature’ that was more comfortable to do in the gui – uninstall a package from all projects.

Well no more. If you want to do that with the command line here’s the trick:

   1: Get-Project -All | Uninstall-Package <package name> -RemoveDependencies

The –RemoveDependencies is optional, but may help

Cheers