I have created a package on Nuget.org. However, when doing one of the first releases, I set an incorrect assembly version format, which is used as the package version.
Let's say that the version was 1.0.180305.0 (build date). However, I do not want to use this format, I want a simpler thing with Major.Minor.BuildNumber format, i.e. 1.0.10, 1.0.11, 1.0.12, etc., where I increment Major and Minor manually and the Build number increments automatically.
I have unlisted the 1.0.180305.0 version, so that it does not appear anywhere.
This works OK, however when using Update-Package [PackageName]
in the Package Manager Console, it automatically gets the 1.0.180305.0 version, even though its unlisted, because the version number is 'larger'.
How do I prevent this?