I have 2 nuget packages for one of my open source projects:
2 was originally created as an investigation to make sure that it is viable. Now that it is I want to wrap it up under 1 but I can see that there have been people download number 2. While the download numbers aren't huge I still do know want to cause any issues by simply deleting that package.
What would be the best way to migrate people from 2 to the wrapped up version under 1? Would it be to publish a new version of 2 indicating that it is being replaced by 1?
Ultimately I would like to deprecate 2 and indicate that it is being replaced by 1 however I have only been able to find this that doesn't actually show it being implemented.
Nuget recently announced support for deprecating Nuget packages. You can now deprecate Nuget packages.
Steps to deprecate a package
Visual Studio starting from 16.3(Visual Studio 2019) will show a warning for deprecated packages along with a warning message and alternate packages info.
Note: Deprecating a package does not unlist the package. You have to unlist the package separately if you want to. It can also be done via Nuget website.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With