Partager via


Loading April CTP Refresh Windows Phone 7 projects using Developer Tools RTM

With the release of Windows Phone 7 Developer Tools RTM, you may see the below message if you try to open the project you built with earlier versions of Developer Tools.

image

The message is self-explanatory and you can easily make the changes as suggested, but if you want to save some time by not manually making each of the entries as suggested, copy and paste the code segment given below in this post.

Open the WMAppManifest.xml file under properties node in your project

image

 

Look for the <Capabilities>    </Capabilities> node in the file and copy/paste the following elements inside the node:

<Capability Name="ID_CAP_NETWORKING"/>
<Capability Name="ID_CAP_LOCATION"/>
<Capability Name="ID_CAP_SENSORS"/>
<Capability Name="ID_CAP_MICROPHONE"/>
<Capability Name="ID_CAP_MEDIALIB"/>
<Capability Name="ID_CAP_GAMERSERVICES"/>
<Capability Name="ID_CAP_PHONEDIALER"/>
<Capability Name="ID_CAP_PUSH_NOTIFICATION"/>
<Capability Name="ID_CAP_WEBBROWSERCOMPONENT"/>

 

To make your migration experience easy, it is recommended to go through Jaime’s blog post here which will help you fix any build errors.