How do I delete NuGet packages that are not referenced by any project in my solution?

前端 未结 11 1104
攒了一身酷
攒了一身酷 2021-01-30 01:53

Somehow during the upgrade to VS2012 and .NET 4.5, I\'ve managed to get NuGet confused. There are packages that appear in the package manager (and the packages folder) that I c

11条回答
  •  广开言路
    2021-01-30 02:36

    If you want to delete/uninstall Nuget package which is applied to multiple projects in your solutions then go to:

    1. Tools-> Nuget Package Manager -> Manage Nuget Packages for Solution

    2. In the left column where is 'Installed packages' select 'All', so you'll see a list of installed packages and Manage button across them.

    3. Select Manage button and you'll get a pop out, deselect the checkbox across project name and Ok it

    The rest of the work Package Manager will do it for you.

提交回复
热议问题