要使用VS2010打开VS2012的解决方案必须得改3个东西,解决方案(.sln) ,工程文件(.csproj),config 文件
1.解决方案就是后缀名为.sln 的文件,用记事本打开后,将Version 从12.00 改为11.00 ,2012 改为 2010
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
改为:
Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
2.工程文件就是在解决方案里的项目文件夹里后缀名为 .csproj的文件,用记事本打开后,删除一行:
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
//删除xmlns="http://schemas.microsoft.com/developer/msbuild/2003">与<PropertyGroup>间多出来
的代码
</span> <PropertyGroup>
<Config