DNRN
DNRN

Reputation: 2489

Manage local nuget repository

I have a local nuget repository, where I would like to browse the packages, is there some kind of tool for this?

We have a project that is pushed to my local repository, when we have new updates we just push a new version. We needed to branch the project and therefor we pushed this new version. But I somehow didn't change the package id. So now I need to browse and remove this package, change the id and push it again?

So my questions is, is there any tool I can use to manage my local nuget packages?

Upvotes: 0

Views: 283

Answers (1)

Bo TX
Bo TX

Reputation: 424

I'm not aware of any 'tool' to accomplish this. However, you can manually remove the .nupkg file for the latest (bad) version from your packages folder.

Since you are running the repo from IIS, you can check your web.config file for the following key:

    <add key="packagesPath" value="C:\folder\folderHoldingNupkgFiles" />

This will tell you where you .nupkg files are stored. Go there and find the latest version that you published and remove it. Afterward, change the id, etc, and republish as the new package.

Once this happens, you should see the original/previous version from before, as well as you new/branched version.

Upvotes: 0

Related Questions