Floating FB popout byF5debug

101 How to on Windows Phone – How to #1 – Specify a target version for Windows Phone

 

Friends,

Thanks for your continued support on the successful series on Learning Windows Phone 7 Development in 31 days, it was really nice to see the comments and feedback from the readers. Now we are going to see a series on 101 How to on Windows Phone 7 development. This series is going to be a quick reference guide for the development activities that we are going to use on to the day to day activities. This series of articles are going to specific to the task and will not have step by step process since we covered most of the activities in our Learn Windows phone 7 Development in 31 days series. Hope this series will also be useful to you and please provide the valuable comments and feedback to improve further.     [more]

Here in our first how to, we are going to see how to specify a target version for windows phone. Microsoft has released Windows Phone 7.0 and Windows phone 7.1 SDK where the application development can be targeted based on the needs. Application developed with Windows Phone 7.0 can continue to run on the Windows Phone 7.1 SDK by simply upgrading to the latest version of the SDK. We can target the Windows Phone 7 OS initially at the time of developing the application by using the tool provided with Visual Studio 2010 IDE.

With Windows Phone 7.0 SDK application developed can run on the Windows Phone 7.1 SDK by simply migrating the application to the latest version, where as Windows Phone 7.1 SDK targeted application can run on the lower version where as the new features that are available with the latest version will not be available basically we have the backward compatibility to develop the applications.

Let us see how we can set the target version in the Visual Studio 2010 IDE in simple steps.

Steps:

Open Visual Studio 2010 IDE in administrator mode and we create a new Silverlight for Windows Phone project as shown in the screen below.

clip_image002

On providing the project name and the location clicking on OK will get the Target version pop up to select the Windows Phone SDK version which the application is targeted (Basically Windows Phone 7.0 or Windows Phone 7.1) as shown in the screen below.

clip_image004

Now selecting the platform which is required for the development will target the respective SDK and we can proceed with the features that are available with the respective SDK. If we want to upgrade from the Windows Phone 7.0 to Windows Phone 7.1 SDK anytime we can do the same by going to the properties and changing it straight forward. To do that, we need to open Windows Phone 7.0 application in Visual Studio 2010 IDE and select the properties of the project (Right Click on the project and select properties) and you can see the Target Windows Phone OS Version on the right side where you can change it as per the requirement as shown in the screen below.

clip_image006

Selecting Windows Phone OS 7.0 or 7.1 upgrade we can see the upgrade dialog box which confirms the upgrade as shown in the screen below. Click on Yes and proceed further to upgrade to the respective versions.

clip_image008

If we are going to target an application development that runs both on Windows Phone 7.0 and Windows phone 7.1, we can create an application in Windows Phone 7.0 and run the application in both the versions test devices and we can see if everything is working on good.

About Author: Karthikeyan Anbarasan, Microsoft MVP (Most Valuable Professional) in ASP.NET/IIS Architecture. He is the Founder and Chief Editor of the www.f5debug.net website and has authored books on Windows Phone and Business Intelligence(SSIS). He is also a Passionate Speaker and a Blogger on Microsoft Technologies.

You can Join Me On: Facebook, Twitter, Google Plus, LinkedIn

Comments (1) -

Bill Ulicki
Bill Ulicki
9/20/2013 6:23:32 AM #

I needed to thank you for this fantastic read!! I definitely enjoyed every bit of it. I have got you bookmarked to look at new stuff you post��|

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading

Recent Posts

Random Posts

Most Viewed

URL Shortner

Create your own short urls!!!

Site Counter

free counters

Disclaimer

This is a personal weblog. The opinions expressed here represent my own and not those of my employer. For accuracy and official reference refer to MSDN/ TechNet. I have documented my personal experience on this blog.

Protected by Copyscape Web Plagiarism Finder

Site Meter