I’m looking for a simple solution, on how to Unlist (delete) a package from Nuget library with all of it’s versions.
I’m asking this, because manually I can do this 1 version at a time for 1 package. And I have lots of packages with ~20+ versions each ..
Please help.
You could write a batch script to call
nuget delete, iterating over all your packages – see http://docs.nuget.org/docs/reference/command-line-reference#Delete_Commande.g.
nuget delete MyPackage 1.1 -NoPromptnuget delete MyPackage 1.2 -NoPromptetc. Pretty straightforward with grep or a search/replace in a text editor.