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:
- Install the updated tools (currently RC)
- In the Properties pane of the application, change "Target Windows Phone OS Version" to "Windows Phone OS 7.1"
- Update your code in
App_Activated
to only process the state ifActivatedEventArgs.IsApplicationInstancePreserved
isfalse
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.
精彩评论