How can I port a Windows Phone 8 app to Windows Phone 8.1?

≯℡__Kan透↙ 提交于 2019-12-07 14:04:53

问题


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?

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?


回答1:


There are two ways to do that:

  • 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

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.


Some clarification for the followers:

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

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.



来源:https://stackoverflow.com/questions/24627263/how-can-i-port-a-windows-phone-8-app-to-windows-phone-8-1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!