Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Multi-Targeting with Windows Phone 7 Mango tools

DZone's Guide to

Multi-Targeting with Windows Phone 7 Mango tools

· Mobile Zone
Free Resource

Launching an app doesn’t need to be daunting. Whether you’re just getting started or need a refresher on mobile app testing best practices, this guide is your resource! Brought to you in partnership with Perfecto

As it was mentioned at Mix and a few other places, with the release of the New Windows Phone developer tools for Mango you can target both the original release of Windows Phone 7 (7.0) and the New Mango Release (7.1) from within your solution.

image

As you can see above, this is simply done within your Project properties (not the solution properties), here you can select either 7.0 or 7.1.

Note, if you are using features exclusively for Windows Phone 7.1 Mango, then it will only display V 7.1.  This can be seen if you load up any of the new project templates as shown below:

Silverlight “New” Project Templates

image

XNA “New” Project Templates

image


Quick “For Reference” though.  The two new projects for 3D apps in Silverlight are identical “Windows Phone 3D Graphics Application” (Silverlight) and “Windows Phone Rich Graphics Application (4.0)” (XNA).

Goodness knows why they have different names but they are the same project template. 

**Note

As was highlighted at Mix, you can use XNA in your Silverlight projects and use custom Silverlight controls on top of your XNA game in Silverlight.  BUT you CANNOT use Silverlight inside of an XNA project.

This is a bit of a fine line but I can understand how they have done this as XNA is abstracted within Silverlight in order to use it, it’s not true integration as yet but we can hope for the future.

 

Happy mango travels

**Update

Just tried (for a quick test) to select the new release for one of my existing projects and the tools warn this is a ONE TIME option only.  Seems you are either in one platform or the other, you CANNOT go back.

The tools do nicely warn you of this and tell you to do a backup before you do (I’d recommend to do it in your source control app to make this easier).

SO the road only leads forward, just a little note in case you were about to try (as I did).

To be expected I suppose :0)


The Mango Tools beta

Oh and in case you missed it the download link to the Windows Phone Developer 7.1 (Mango) Beta tools is here, thanks to @MobileTechWorld for the info

Source:  http://xna-uk.net/blogs/darkgenesis/archive/2011/05/24/multi-targeting-with-windows-phone-7-mango-tools.aspx

Keep up with the latest DevTest Jargon with the latest Mobile DevTest Dictionary. Brought to you in partnership with Perfecto.

Topics:

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}