Nuget Package Name issue - now cannot find resource

I created a nuget package called “.NET 4.5” and uploaded the package to the OctopusDeploy library. After testing a deployment, I realized OctopusDeploy doesn’t like packages that start with a punctuation character, so I went to delete it from the library and recreate the package.

However, I get this error when I choose the delete option: The resource was not found on this server.

How do I remove this package from the library?

Additionally, when I attempt to view/download the package, it looks like it’s not able to parse/load the contents of the package, so none of the information fields are populated.

Hi Jeff,

Thanks for getting in touch.

Could you please confirm which version of Octopus you are running? We attempted to upload a package named “.NET 4.5.zip” (and other variations) with the latest version of Octopus and were unable to get past the current semver validation.

To remove the bad package, you can go to your Octopus server folder (typically located at C:\Octopus\[your instance name]\Packages) and manually delete the “.NET 4.5” folder using Windows Explorer. Once you’ve done this, you will have to manually hit the “Sync now” button from the Octopus UI’s Library > Packages screen (see “Package Indexing” in the sidebar). This will re-sync your Octopus packages library with your Packages folder and should delete the “.NET 4.5” package from the Octopus library.

Once you’ve done this, you could rename the package to “DotNet.4.5.0” and try uploading again.

Let me know how you go.

Cheers
Mark

Perfect, thanks!

This was Octoups v3.13.5