Wednesday, June 8, 2011

5 easy steps for a Windows Phone 7.1(Mango) to 7.0 application downgrade

 

I like to play a lot with latest beta version of Windows Phone named Mango.
I like mostly the new Windows Phone Performance Analysis tool available in Debug menu.

image

But after I tested my app, when in comes to come back to current version in market (7.0) the application platform cannot be changed back.

image

Let’s do some tricks to get it back in just five easy steps.

1. Unload the wp7 application

image

image

2. Edit the project (.csproject) files

image

change the line

    ...
<
TargetFrameworkProfile>WindowsPhone71</TargetFrameworkProfile>
...

into

    ...
<
TargetFrameworkProfile>WindowsPhone</TargetFrameworkProfile>
...
3. Reload the project
image
4. Edit Properties\WMAppManifest.xml file
image
5. Change AppPlatformVersion of Deployment node
from 7.1 to 7.0
<Deployment xmlns="http://schemas.microsoft.com/windowsphone/2009/deployment" AppPlatformVersion="7.1">

to

<Deployment xmlns="http://schemas.microsoft.com/windowsphone/2009/deployment" AppPlatformVersion="7.0">

That’s all folks!

No comments:

Post a Comment