Open SupporterMan opened 7 years ago
cc @emgarten The following seem like repeated asks:
In the 2nd case it clears all packages that are directly referenced in the project.
Looks very useful. It would also be nice to prune everything not in a solution, or older than a certain time.
This win my vote. It should be very useful to remove older packages than just clear all of global cache.
@SupporterMan @neolib Thanks for reporting this request. We will consider this request, when possible.
Could really do with
nuget locals http-cache -clear -packages {list of packages}
myself.
And/or the package to automatically be cleared from the http-cache when it is pushed.
There are news around this? I asked something which somehow relates to this one right here (well, that's something that would benefit from the feature discussed here)
Details about Problem
I have a nuget package that want to remove it from my project and I also want to clear its local global cache from userprofile.nuget\package. According to the manage package document, I only could use "nuget locals global-packages -clear" command to clear all global caches, not a specific one. Otherwise, I need to navigate to the .nuget\packages path in file folder and delete it manually.
NuGet product used: NuGet.exe NuGet version (4.1.0)
edit by @nkolev92
This issue should cover the VS side of things as well. https://github.com/NuGet/Home/issues/8204