为 WP 7.1 开发的应用程序能否在 WP8 上运行? [英] Will apps developed for WP 7.1 work on WP8?

查看:30
本文介绍了为 WP 7.1 开发的应用程序能否在 WP8 上运行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经开发了一个面向 Windows Phone 8 的应用,但它不能在 Windows Phone 7.5 上运行.为了让它在两个平台上都能工作,我决定通过 Microsoft Visual Studio 2012 将 Windows Phone OS 7.1 作为目标.

I have already developed an app targeting Windows Phone 8, but it doesn't work on Windows Phone 7.5. To get it working on both platforms, I have decided to target Windows Phone OS 7.1 via Microsoft Visual Studio 2012 instead.

如果我在 VS 2012 中以 WP OS 7.1 为目标,我的应用程序是否可以在 WP 7.5 和 WP 8 上运行?

Will my app works on both WP 7.5 and WP 8 if I target WP OS 7.1 in VS 2012?

推荐答案

Windows Phone 应用程序向前兼容.这意味着为 Windows Phone 7.x 构建的应用程序应该可以在 Windows Phone 8 上运行.但是,这并不能保证.某些应用程序可能无法正常运行,您绝对应该在 Windows Phone 8 设备上测试您的应用程序.

Windows Phone applications are forward compatible. This means that applications built for Windows Phone 7.x should work on Windows Phone 8. However, this is not a guarantee. Some applications may not work properly and you should definitely test your application on Windows Phone 8 devices.

您还可以维护应用程序的两个版本:一个用于 Windows Phone 7,一个用于 Windows Phone 8.您将两个版本发布为一个应用程序,以便每台设备的用户都可以获得最适合他们设备的应用程序.

You can also maintain two versions of your application: one for Windows Phone 7 and one for Windows Phone 8. You publish both versions as one application so that users of each device can get the best application for their device.

您可以将 Windows Phone 7 项目升级到 Windows Phone 8 项目,但不能降级.最好的办法是创建一个新的 Windows Phone 7 项目,并将所有文件从 WP8 项目移动到新项目.

You can upgrade Windows Phone 7 project to Windows Phone 8 project, but you cannot downgrade. The best thing to do is to create a new Windows Phone 7 project and move all files from the WP8 project to the new one.

这篇关于为 WP 7.1 开发的应用程序能否在 WP8 上运行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆