Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change Package version number of Windows Universal App for Windows Phone 8.1 app version while publishing

After migrating my app from Windows Phone 8.0 to Windows Universal App 8.1, I had problems with Package version number.

What I put in appxmanifest is 1.1.58.0. appxmanifest

Creating App Package, I keep 1.1.58.0. Create App Package

When I upload to the dashboard it shows a datetime based version: 2014.1124.1949.1685 dashboard

On the store it also shows datetime based version as well: store

And finally in the app "About", it's showing the right version using Package to get the version.

string.Format("{0}.{1}.{2}",
Package.Current.Id.Version.Major,
Package.Current.Id.Version.Minor,
Package.Current.Id.Version.Build);

enter image description here

My question is: How do I change the Package Version that shows on the Store? I had no problems before Universal App.

like image 613
MaikonFarias Avatar asked Nov 25 '14 13:11

MaikonFarias


1 Answers

During the "Create App Packages" wizard, set the option for 'Generate app bundle' to Never. It will now pick up the version defined under the Packaging tab of the Package.appxmanifest file.

Hope this helps.

like image 69
Keyur Avatar answered Nov 12 '22 11:11

Keyur