Conversion between vs05 vs08 vs10 Projects
After vs2010 is installed, the previous vs2005 project or vs2008 project will be forcibly converted to the vs2010 project, causing trouble for a computer without vs2010 to be unable to open a later version project.
Open the solution file (. sln) in Notepad ):
The first two rows
Vs2010
Microsoft Visual Studio solution file, format version // Development Tool
Project ("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = ......
......
Vs2008/sharpdevelop
Microsoft Visual Studio solution file, format version // Development Tool
# Sharpdevelop 3.2.0.5777 // Development Tool
Project ("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = ......
......
Vs2005
Microsoft Visual Studio solution file, format version // Development Tool
Project ("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = ......
......
Open the project file (. vcproj) in Notepad)
Vs2010:
<? XML version = "1.0" encoding = "UTF-8"?>
<Project toolsversion = "4.0" defaulttargets = "build" xmlns = "http://schemas.microsoft.com/developer/msbuild/2003">
......
Vs2005
<? XML version = "1.0" encoding = "UTF-8"?>
<Project defaulttargets = "build" xmlns = "http://schemas.microsoft.com/developer/msbuild/2003">
......
Vs2008
<? XML version = "1.0" encoding = "UTF-8"?>
<Project toolsversion = "3.5" defaulttargets = "build" xmlns = "http://schemas.microsoft.com/developer/msbuild/2003">
......
After the configuration is changed to a matched version, you can open it. (# Add failed to open 10 projects with 05. Because the file type of 10 is. vcxproj, you need to find another method)
Reposted from: youwenzhang, blog Garden