question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
kspearrincommented, Jul 27, 2018

I worked around this problem for now by defining environment variable BUILD_NUMBER to 0 in AppVeyor settings, which will override APPVEYOR_BUILD_NUMBER in electron builder.

0reactions
GarryLowthercommented, Sep 1, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found