开发者

Will an application built for Windows Phone 7.0 work with 7.1?

I have开发者_C百科 built my app for WP7.0 - will it still work on WP7.1?

Do I need to rebuild it using WP7.1 sdk? If yes, how can i rebuild my current app to 7.1 mango?


Your 7.0-built application will work as expected in 7.1, but the fast application switching (multitasking) experience may not be optimal.

To rebuild/optimise your application for Mango:

  1. Install the updated tools (currently RC)
  2. In the Properties pane of the application, change "Target Windows Phone OS Version" to "Windows Phone OS 7.1"
  3. Update your code in App_Activated to only process the state if ActivatedEventArgs.IsApplicationInstancePreserved is false

Keep in mind that, for the next few weeks, you cannot release a bug fix for users with 7.0 once you release a 7.1 build.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜