Works created in VS2015 RC open CTP

Source: Internet
Author: User

VS2015 finally out of RC! Small partners come on to install trial, address here, there are new Windows 10 development tools Oh, or you can not develop universal Windows app, remember to uninstall the CTP version before installation.

The new RC version has some new changes and cannot directly open the project created in the CTP. -You need to make some changes manually.

If you have previously created a project using VS2015 CTP, the direct use of RC Open will prompt the project to be updated, such as:

The modification method is simple, with C # Engineering as an example:

1. First of all you need to confirm universal Windows Platform on your computer (we are now developing a common application is on a platform), if you are using the default installation, will be in \program Files (x86) \ Windows Kits\ 10\PLATFORMS\UAP This directory, such as, copy this version number, then need to use.

2. Right click on the project you need to update, select "Edit Xxx.csproj" to edit the project file.

3. On the edit page, locate the PropertyGroup node that contains the targetplatformversion and targetplatformminversion two nodes (typically the first is-_-), Replace the value of these two nodes with the version number obtained in the first step.

The following changes are followed:

4. Remove all configurations that are anycpu PropertyGroup nodes, including child nodes, because this RC is not supported

5. To see the remaining configuration is the release of the PropertyGroup node, if there is no usedotnetnativetoolchain child nodes, then add one, the value must be true, that is,:< Usedotnetnativetoolchain>true</usedotnetnativetoolchain>

6. After saving, right click on the project, select "Reload Project", our project finally came back lol

7. Don't worry, we have a final step, modify the manifest file, change the name of the targetplatform node to targetdevicefamily, two version property value to the first step of the revision number, Now our project is ready for use.

  < Dependencies >    <  Name= "Windows.universal"  minversion= "10.0.10069.0"  maxversiontested= "10.0.10069.0"/>  </Dependencies >

PS: If you use the above method, when you start the error message, it may be the system version of the problem (I was on the 10069 error: ), check your Windows version number and upgrade to 10074 or later.

Works created in VS2015 RC open CTP

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.