You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wasn't entirely sure where to put this because it doesn't seem to have raised before so I'm guessing it's not really an issue, which it really isn't... And maybe I'm just going mad.
I just happened to realise this as I was switched to a cibuild in a project I was working on. But when using x.x.999-cibuild, the potentially older builds are by default seen as greater than subsequent releases due to NuGet's naming conventions for newer/older versions.
For example:
I had 11.3.999-cibuild0054801-alpha added to my project, but 11.3.4 is seen as a package downgrade because:
When ordering versions by precedence, NuGet follows the SemVer standard and chooses a version without a suffix first, then applies precedence to pre-release versions in reverse alphabetical order and treats dot notation numbers with numerical order.
This is the case, at least in Rider for macOS.
I'm not sure the reason behind the x.x.999 - is it required at all when the suffixes cibuild/alpha should be sufficient enough?
Thanks for listening to my late evening random thought anyway... :)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I wasn't entirely sure where to put this because it doesn't seem to have raised before so I'm guessing it's not really an issue, which it really isn't... And maybe I'm just going mad.
I just happened to realise this as I was switched to a cibuild in a project I was working on. But when using
x.x.999-cibuild
, the potentially older builds are by default seen as greater than subsequent releases due to NuGet's naming conventions for newer/older versions.For example:
I had
11.3.999-cibuild0054801-alpha
added to my project, but11.3.4
is seen as a package downgrade because:This is the case, at least in Rider for macOS.
I'm not sure the reason behind the
x.x.999
- is it required at all when the suffixescibuild
/alpha
should be sufficient enough?Thanks for listening to my late evening random thought anyway... :)
Beta Was this translation helpful? Give feedback.
All reactions