Wrong version number submitted to Windows Phone St

2019-04-28 20:04发布

问题:

I deployed an app to the Windows Phone Store and the version number that got deployed is different than the version in the app manifest.

The version that got deployed is something like 2014.MMDD.ABC.XYZ

It should have been 1.0.0.0.

Why was the version number changed, and is it possible to change it to what it should be?

回答1:

According to this thread this is expected behaviour for app bundle packages.

Rob writes:

This is expected behavior for app bundle packages. They are always versioned based on date. The code package will have its set version information. If you list the packages on your Windows system in \Program Files\WindowsApps you'll see this is the case for all app bundle packages. --Rob

Bill Chung writes:

if the option "Generate app bundle" set to "never", the version number will be normal.



回答2:

That is the version for your appxbundle, not for the app itself. The bundle contains the resources so only the relevant ones are installed on any specific devices. The app itself should still show up with the right version in the store.

If you look in Program Files/WindowsApps on your desktop you'll see the same thing there: many apps will have both the normal package and timestamp-versioned bundle packages.