如何将 Windows Phone 8 应用程序移植到 Windows Phone 8.1? [英] How can I port a Windows Phone 8 app to Windows Phone 8.1?

查看:33
本文介绍了如何将 Windows Phone 8 应用程序移植到 Windows Phone 8.1?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在开发 Windows Phone 8 应用程序,现在我想将其更改为 Windows Phone 8.1.我该怎么做?

I've been working on a Windows Phone 8 app, which I now want to change to be Windows Phone 8.1. How can I do this?

我是否应该创建一个新的 Windows Phone 8.1 应用程序并将我现有的所有文件复制到其中?或者是否有自动方式让我将现有解决方案升级到 8.1?

Should I create a new Windows Phone 8.1 app and copy all my existing files into it? Or is there an automated way for me to upgrade the existing solution to 8.1?

推荐答案

有两种方法可以做到:

  • 喜欢评论 - 右键单击​​您的项目,您应该会看到 Retarget to Windows Phone 8.1
  • 或者您可以打开项目的Properties窗口和Target Windows Phone OS version下拉框,您可以选择Windows Phone 8.1
  • like in comment - right click on oyour project and you should see Retarget to Windows Phone 8.1
  • or you can open Properties window of your project and the in dropdown box Target Windows Phone OS version you can choose Windows Phone 8.1

在每种情况下,VS 都应该询问您是否确定这样做 - 这是单向操作,因此值得对您的解决方案进行备份.由于WP8.1具有向后兼容性,大多数情况下应该不会有任何问题.

In every case the VS should ask if you are sure to do that - it's one-way operation, so it's worth to make a backup of your solution. As WP8.1 has backward compability, in most cases there shouldn't be any problems.

对关注者的一些澄清:

由于 WP8.0 应用程序是 Silverlight,重新定位后它仍将是 Silverlight 应用程序,但 WP8.1(一些新功能和增强功能).

As WP8.0 apps are Silverlight, after retargetting it will still be a Silverlight app but WP8.1 (some new features and enhancemens).

想,如果你想重新定位到 WP8.1 运行时,它是 一个完全不同的事情 - 这是不同类型的应用程序,不同的 API和更多.您必须手动移植它.请注意,并非 WP8.0 的所有功能都在 WP8.1 运行时中可用 - 这是一篇关于此的好文章.

Thought, if you want to retarget to WP8.1 Runtime, it's a totally different thing - it's a different type of an app, different API and more. You will have to port it manually. Note that not all features from WP8.0 are yet available in WP8.1 Runtime - here is a good article about that.

这篇关于如何将 Windows Phone 8 应用程序移植到 Windows Phone 8.1?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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