简体   繁体   English

如何测试/调试从WP8到WP8.1的应用程序的更新过程?

[英]How can I test/debug the update process of my app from WP8 to WP8.1?

I am just about to release a big update to my app, which is currently WP8 only and I don't want users to lose their local app data. 我即将发布我的应用程序的重大更新,当前仅适用于WP8,并且我不希望用户丢失其本地应用程序数据。

1) Am I right that all the local data of the WP8 app is still available in the local folder afterwards? 1)我以后对WP8应用程序的所有本地数据仍然可以在本地文件夹中使用吗?

2) Can I use the update background task to prepare the upgrade? 2)我可以使用更新后台任务来准备升级吗? Or does this only apply to WP8.1 → WP8.1 upgrades? 还是仅适用于WP8.1→WP8.1升级?

3) Is there any way besides providing the WP8 app as a Beta app and updating it to the WP8.1 version there? 3)除了将WP8应用程序作为Beta应用程序提供并将其更新为WP8.1版本之外,还有什么方法吗? Can I test this locally on my device/in the emulator? 我可以在我的设备/仿真器中本地测试吗? I know there's some /update flag for the application deployment tool but how does this work for WP8 → WP8.1? 我知道应用程序部署工具有一些/update标志,但这对WP8→WP8.1怎么起作用?

I'd appreciate any help, maybe some of you have already done this. 我将不胜感激,也许有些人已经做到了。 Thanks in advance! 提前致谢!

1) Correct. 1)正确。 User data persists through an update. 用户数据通过更新保留。 User data is removed when the app is uninstalled. 卸载应用程序后,用户数据将被删除。

2) This is a WP8.1 feature. 2)这是WP8.1功能。 You would need to have the background task registered before the upgrade. 您需要在升级之前注册后台任务。 It isn't useful for the initial install. 它对于初始安装没有用。

3) Try with a test app, but I expect that would work fine WP8 to WP8.1 3)尝试使用测试应用程序,但我希望WP8到WP8.1都能正常工作

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

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