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

前端 未结 11 1256
攒了一身酷
攒了一身酷 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:24

    If you want to use Visual Studio option, please see How to remove Nuget Packages from Existing Visual Studio solution:

    Step 1:

    In Visual Studio, Go to Tools/NuGet Package Manager/Manage NuGet Packages for Solution…

    Step 2:

    UnCheck your project(s) from Current solution

    Step 3:

    Unselect project(s) and press OK

提交回复
热议问题