app revert to original version when system reboot

Xie Steven 831 Reputation points
2020-11-25T03:25:41.073+00:00

Hi,

I'm facing a strange issue. I sideload my UWP app(version: 1.0.0.1) on my machine. Then, I updated app to the new version 1.0.0.2.

When I rebooted the OS, I found that the app revert to the original version(1.0.0.1). It's so strange.

I wanted to know what causes this problem.

Thanks,
Steven

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,737 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Körmöndi István 1 Reputation point
    2020-11-26T15:18:56.04+00:00

    Hi Steven!

    How did you managed to change the very last (forth) section of version number?
    When you open Package.appxmanifest with project editor (Packaging tab), you can edit only the first three section, however you can overwrite the entire version number using the xml editor.
    The related Microsoft documentation claims that last section of version number is reserved for Store use.
    Modification of last section may not be recommended for sideloaded applications either. Leave 0 on the last section and use the first three sections for version control.
    Maybe it helps.

    "For Windows 10 (UWP) packages, the last (fourth) section of the version number is reserved for Store use and must be left as 0 when you build your package (although the Store may change the value in this section). The other sections must be set to an integer between 0 and 65535 (except for the first section, which cannot be 0)."
    https://learn.microsoft.com/hu-hu/windows/uwp/publish/package-version-numbering

    István

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.