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