Skip to content

SemVer compatibility in AppXManifest #3747

Answered by DrusTheAxe
LadderLogic asked this question in Q&A
Discussion options

You must be logged in to vote

Most of the answers you seek can be found in #148

One item not mentioned there is MSIX predates SemVer. There was no SemVer when MSIX was invented, but there was plenty of existing DotQuadNumber (a.b.c.d) at the time.

Some parts of SemVer can be mapped to MSIX. MSIX uses a 4-part number (Major.Minor.Build.Revision) but if you always define Revision=0 you can use the same value as SemVer e.g. SemVer 1.3.5 == MSIX 1.3.5.0.

BTW your SemVer definition is incomplete. That should be Major.Minor.Patch[-prerelease][+buildmetadata].

SemVer's prerelease field is problematic in multiple ways (especially allowed values + sorting). See Issue #48 for more details.

SemVer's buildmetadata is less problem…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by DrusTheAxe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants