Windows 10
A Microsoft operating system that runs on personal computers and tablets.
6,653 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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
@Roy Li - MSFT I'm collecting more detailed information to clarify my question with you. @Körmöndi István The question was not related to the last (fourth) section of the version number. I mentioned the version 1.0.0.2. This is just one example I gave.
Sure, please let me know when you got the message
@Roy Li - MSFT "May I know what's the OS version of your device?" The OS version is 1909(build 18363.449). "Another thing I want to know is how do you update your app?" I sideload my app(version 1.0.0.1) by the "Add-AppDevPackage.ps1" powshell file. When I want to update my app to new version 2.0.0.1. I will un-install the version 1.0.0.1 at first and then sideload the new package. Once the app sideloaded successfully, I also will run it and check the version number that diaplayed in my app. The version number was right at this time. But once I logout and login the system account or reboot the system, the app will revert to the version 1.0.0.1.
If you cannot reproduce this issue on your side, you might need to get help from the relevant teams(technet or ...). Let them tell you something that might be causing the problem. Thank you again.
HI
Is there any log in below location on issue computer about your issue ?
C:\Windows\System32\winevt\Logs
system.evtx
Application.evtx
Microsoft-Windows-Application Server-Applications%4Admin.evtx
Microsoft-Windows-Application Server-Applications%4Operational.evtx
Microsoft-Windows-AppModel-Runtime%4Admin.evtx
Microsoft-Windows-AppReadiness%4Admin.evtx
Microsoft-Windows-AppReadiness%4Operational.evtx
Microsoft-Windows-AppXDeployment%4Operational.evtx
Microsoft-Windows-AppXDeploymentServer%4Operational.evtx
Microsoft-Windows-AppXDeploymentServer%4Restricted.evtx
Microsoft-Windows-AppxPackaging%4Operational.evtx
Microsoft-Windows-TWinUI%4Operational.evtx
@Andy YOU Do I need to provide the above all logs for you?
@Andy YOU Can you give me a response? Instead of keeping silent. You let me check the event logs. I have checked them. But there are thousands of records in each log. Can you narrow it down? What types of logs do I need to focus on? Or are there any key pieces of information that might be relevant to this issue? Or, in your experience, what are the possible causes of the problem? With these measures, I can do some troubleshooting first. It will save our time.
Sign in to comment
1 answer
Sort by: Most helpful
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
Sign in to comment