Finding Dead Packages in External Nuget Feeds

richard.stephens's Avatar


11 Jan, 2017 06:53 PM

We are using some external file share feeds, Unfortunately one team at our company had their builds push 65 nuget packages to a feed each time they did a build and then manually created a release only when they needed it. This practice has almost run our server out of space I would like to know how to delete nuget packages that were never assigned to a release. Is there anyway to do this since retention policies don't seem to work for external feeds.

I am a software dev so I have no problem using the C# API.

  1. Support Staff 1 Posted by Robert Wagner on 12 Jan, 2017 03:34 AM

    Robert Wagner's Avatar

    Hi Richard,

    Thank you for getting in touch. This script will retrieve all the packages and versions associated with a release. If you have a lot of releases, this could slow the server down significantly while they are being retrieved.

    Hope that helps.

    Robert W

  2. Paul Stovell closed this discussion on 12 Apr, 2017 02:11 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac