Windows Store (appx): Apps are not allowed to have a Version with a revision number other than zero specified in the app manifest.
See original GitHub issue- Version: ^20.8.1
- Target: --win --x64 --ia32
When trying to submit an appx that was built with AppVeyor to the Windows Store, we get rejected during validation with:
You must fix all package validation errors before submitting.
Bitwarden-1.3.0-ia32.appx
Package acceptance validation error: Apps are not allowed to have a Version with a revision number other than zero specified in the app manifest. The package Bitwarden-1.3.0-ia32.appx specifies 1.3.0.553.
553 was the build number from AppVeyor, which seems to be getting automatically injected into the built appx manifest file:
<Identity Name="8bitSolutionsLLC.bitwardendesktop"
ProcessorArchitecture="x64"
Publisher='...'
Version="1.3.0.553" />
This seems to be new since I don’t recall this happening in previous versions of submitting our app to the Windows store.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Can't update package due to wrong version number - MSDN
When I set it to one higher than the previous version, ... a Version with a revision number other than zero specified in...
Read more >Package acceptance validation error - Microsoft Learn
"Package acceptance validation error: Apps are not allowed to have a Version with a revision number other than zero specified in the app ......
Read more >Package version numbering - Windows apps - Microsoft Learn
The Microsoft Store enforces certain rules related to version numbers, which work somewhat differently in different OS versions.
Read more >Problem submitting to windows store win32 app converted to ...
... Apps are not allowed to have a Version with a revision number other than zero specified in the app manifest. The package...
Read more >Update non-Store published apps from your code - MSIX
If you are not using the App Installer file to deploy your app package, the first step is to directly check if a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I worked around this problem for now by defining environment variable
BUILD_NUMBER
to0
in AppVeyor settings, which will overrideAPPVEYOR_BUILD_NUMBER
in electron builder.Crazy that an arbitrary poor decision by a junior software engineer at Microsoft can cause so much grief as it defies common sense. Most people today are using YYYY.MM.DD.HHmm e.g. 2021.09.01.1045 as their version numbers as it is the most logical approach.