Conversion between project files in Visual studio versions

Source: Internet
Author: User
Tags visual studio 2002 visual studio 2010

Reproduced in: http://www.cnblogs.com/jmliao/p/5594179.html

Because the VS version is more, the lower version cannot directly open the higher version of the project file, by making some modifications to the project file can solve these problems.

You can convert a low version to a higher version by modifying the solution file and the project file.

For example, convert the VS2015 project to a VS2010 project.

1. Modify the solution file

Open the. lsn file using Notepad:

    • Change format Version 12.00 to 11.00;
    • Change # Visual Studio 14 to 2010;
    • Change visualstudioversion = 14.0.25123.0 to 10.

Correspondence between Format version (solution file version) and VS version:

-visual Studio 2005-format Version 9.00

-visual Studio 2008-format Version 10.00

-visual Studio 2010-format Version 11.00

-visual Studio 2012-format Version 12.00

-visual Studio 2013-format Version 12.00

-visual Studio 2015-format Version 12.00

2. Modify the project file

Use Notepad to open the. vcxproj file:

    • Change toolsversion= "14.0" to 4.0.

ToolsVersion (. Net framework version) versus VS version: Reference:https://msdn.microsoft.com/zh-cn/library/bb383796.aspx

-visual Studio 2008-toolsversion 3.5

-visual Studio 2010-toolsversion 4.0

-visual Studio 2012-toolsversion 4.0

-visual Studio 2013-toolsversion 12.00

-visual Studio 2015-toolsversion 14.00

    • Change the v140 to v110, which in general are 4.

The corresponding relationship between the Toolset version number and the VS version:

-visual Studio 2015:v140

-visual Studio 2013:v120

-visual Studio 2012:v110

-visual Studio 2010:v100

-visual Studio 2008:v90

-visual Studio 2005:v80

-visual Studio 2003:V71

-visual Studio 2002:v70

-visual Studio 6:v60

With the above settings, you can use it normally in low version vs.

Conversion between project files in Visual studio versions

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.