好久之前写的(大概是一年前吧),现在贴出来希望仍然有用。提供中英版本
中文版本:
简便转换VS.NET 2003创建的 工程到 VS.NET 2002<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
chs (Wilson Chan) 2003-5-27
因为VS.NET 2003 的解决方案/工程使用了新的格式(实际上是使用了不同的版本标示), 所以我们不能直接使用VS.NET 2002打开 VS.NET 2003创建的解决方案/工程。
但是,这里提供一个简单的解决方法。
步骤 1: 修改解决方案文件
用文本编辑器打开解决方案文件,修改第一行 “Microsoft Visual Studio Solution File, Format Version 8.00” 为 “Microsoft Visual Studio Solution File, Format Version 7.00”
步骤 2: 修改工程文件
□. C Sharp工程:
把下面内容:
<VisualStudioProject>
<CSHARP
ProjectType = "Local"
ProductVersion = "7.10.3707"
SchemaVersion = "2.0"
ProjectGuid = "{20502969-7071-4065-BDB5-09EDB3C31E3C}"
>
修改为:
<VisualStudioProject>
<CSHARP
ProjectType = "Local"
ProductVersion = "7.0.9466"
SchemaVersion = "1.0"
ProjectGuid = "{20502969-7071-4065-BDB5-09EDB3C31E3C}"
>
注意:“ProjectGuid”为工程标示,请根据实际的值相应改变。
□ Visual Basic.NET工程
把下面内容:
<VisualBasic
ProjectType = "Local"
ProductVersion = "7.10.3707"
SchemaVersion = "2.0"
ProjectGuid = "{6E100C4A-A121-4C1F-83BF-BE639BC59CF1}"
>
修改为:
<VisualBasic
ProjectType = "Local"
ProductVersion = "7.0.9466"
SchemaVersion = "1.0"
ProjectGuid = "{6E100C4A-A121-4C1F-83BF-BE639BC59CF1}"
>
注意:“ProjectGuid”为工程标示,请根据实际的值相应改变。
English Version:
A Simple way to make VS.NET 2003 back to VS.NET 2002
Unruled Boy 2003-5-27
Because VS.NET 2003 uses a new format (actually some new tags and version identifiers.), we cannot open those projects/solutions that created/modified by VS.NET 2003 with VS.NET 2002.
Yet, there is a simple way to solve this problem.
Step 1: Modify the Solution Files
Change the first line of the solution files from “Microsoft Visual Studio Solution File, Format Version 8.00” to “Microsoft Visual Studio Solution File, Format Version 7.00”
Step 2: Modify the Project Files
A. For C Sharp:
<VisualStudioProject>
<CSHARP
ProjectType = "Local"
ProductVersion = "7.10.3707"
SchemaVersion = "2.0"
ProjectGuid = "{20502969-7071-4065-BDB5-09EDB3C31E3C}"
>
Change the above lines to the following lines:
<VisualStudioProject>
<CSHARP
ProjectType = "Local"
ProductVersion = "7.0.9466"
SchemaVersion = "1.0"
ProjectGuid = "{20502969-7071-4065-BDB5-09EDB3C31E3C}"
>
Beaware of the ProjectGuid, it should be same with actual ones.
B. For Visual Basic.NET
<VisualBasic
ProjectType = "Local"
ProductVersion = "7.10.3707"
SchemaVersion = "2.0"
ProjectGuid = "{6E100C4A-A121-4C1F-83BF-BE639BC59CF1}"
>
Change the above lines to the following lines:
<VisualBasic
ProjectType = "Local"
ProductVersion = "7.0.9466"
SchemaVersion = "1.0"
ProjectGuid = "{6E100C4A-A121-4C1F-83BF-BE639BC59CF1}"
>