Update how to configure two versions from Windows phone7 to Windows Phone 8

Source: Internet
Author: User

I think many of my friends are developers of Windows Phone 7 who are worried that the same problem is Windows phone7 porting Windows Phone 8.

This is almost a question every time. Here, I want to answer the question. The upgrade is really friendly, but don't worry. Here I will show you C # wp7.1.ProgramHow to upgrade to WP8.

Copy and open your WP7 lsn, right-click your project, and select upgrade 8.0.

Basically, the basic upgrade is completed here. How did you expect it to be so simple? It's just a painless upgrade. Visual Studio is simply an artifact... but don't be happy with the work that needs to be done later.

1. Test and modify your program

In Windows Phone 8, apart from the support for the previous WVGA (480*800), there are two more resolutions: 720 p (720*1280) and wsga (768*1280)

At the same time, tile also supports more of this article to be introduced later.

Of course, these three resolution simulators are also provided for testing. Please carefully check your programs on these three simulators. The resolution support problem may occur here.CodeConfiguration.

 

2. Here we will introduce how to install your applications on different Windows Phone versions.

2.1 you can split two branch 7.1 & 8.0 in your SLN

2.2 Add the original 7.5 project to the new SLN, which is why the original project was copied.

Add all pages in the form of connection

In this way, you can associate two projects. The next thing to do is to configure the compilation condition Conditional compilation for different environments.

 

In this way, you have implemented the management of two versions of Windows Phone applications under the same SLN. Of course, the above introduction is just an upgrade and more new windows phone8 features will be introduced later, you are welcome to talk to me here, or on Sina Weibo @ Wang Bo _ Nick

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.