简体   繁体   English

是否可以将现有的Windows Phone 8应用程序更新为Windows Phone Store 8.1

[英]Is it possible to update an existing Windows Phone 8 app to Windows Phone Store 8.1

I've a Windows Phone 8.0 app on the Windows Phone Store, and I want to update my app to Windows Phone store API (and not Windows Phone Silverlight 8.1) to prepare Windows 8.1 version. 我在Windows Phone Store上有一个Windows Phone 8.0应用程序,我想将我的应用程序更新到Windows Phone商店API(而不是Windows Phone Silverlight 8.1)以准备Windows 8.1版本。

Is it possible to update and migrate IsolatedStorage data from SL8 to Phone Store App? 是否可以将IsolatedStorage数据从SL8更新并迁移到Phone Store App?

TL;DR; TL; DR; - It preserves data on Isolated Storage when updating from WP8.0 to WP8.1 Runtime. - 从WP8.0更新到WP8.1运行时,它保留了隔离存储的数据。

Because the provided link to MSDN says only about Silverlight apps, and it's not clear (if I hadn't missed something) what would happen in case: I've old WP8.0 Silverlight App and now I decided to upgrade it to WP8.1 Runtime - I've performed a simple test: 因为提供给MSDN的链接只说Silverlight应用程序,并且不清楚(如果我没有遗漏某些内容)会发生什么情况:我已经使用旧的WP8.0 Silverlight应用程序,现在我决定将其升级到WP8。 1运行时 - 我执行了一个简单的测试:

  1. I've published a Beta version of the App - WP8.0 Silverlight. 我已经发布了应用程序的Beta版本 - WP8.0 Silverlight。
  2. After successful instalation on the Phone, I've copied some files inside the App, so that there is something on Isolated Storage 在电话上成功安装后,我在应用程序中复制了一些文件,因此隔离存储上有一些东西
  3. I've submitted an update - went to Store, selected Beta version (WP8.0), clicked Update then Upload and describe your packages , after a while, Add new ( not replace the old WP8.0 package), add some information, save and submit. 我已经提交了更新 - 去了Store,选择了Beta版本(WP8.0),点击了Update然后上传并描述了你的软件包 ,过了一会儿, 添加新的替换旧的WP8.0软件包),添加一些信息,保存并提交。
  4. After some time my Phone is notified that there is an update for the App - I click yeah - update 一段时间后,我的电话被通知有应用程序的更新 - 我点击是 - 更新
  5. After successfull instalation, I see that it's a new App, I click my special button to see what is on Isolated Storage and I see that there are old files from WP8.0 version 成功安装后,我看到它是一个新的应用程序,我点击我的特殊按钮,查看隔离存储上的内容,我看到WP8.0版本中旧文件

So it turns out that LPains answer is correct (+1). 事实证明, LPains的回答是正确的(+1)。

Do you mean update the code or update the application in the store? 您的意思是更新代码或更新商店中的应用程序?

If you mean update the code, you have to recreate it from scratch. 如果您的意思是更新代码,则必须从头开始重新创建代码。 You may be able to use some content but a lot has changed on the new Windows Phone 8.1 (Windows Runtime) including how you write Xaml. 您可能可以使用某些内容,但在新的Windows Phone 8.1(Windows运行时)上已经发生了很多变化,包括您如何编写Xaml。

If you meant update in the store than yes, that will work. 如果你的意思是商店里的更新比是,那就行了。 When you update your app with a new one on the new format the store automatically understands and migrates the IsolatedStorage data: http://msdn.microsoft.com/en-us/library/dn642081(v=vs.105).aspx 当您使用新格式更新应用程序时,商店会自动理解并迁移IsolatedStorage数据: http//msdn.microsoft.com/en-us/library/dn642081( v = vs.105).aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM