Convert a VS.NET 2003 project to VS.NET 2002






4.54/5 (11 votes)
Nov 4, 2004

41881
This article demonstrates how to convert a VS.NET 2003 project to VS.NET 2002
Introduction
In my office we are using VS2002 and at my home I am having VS2003. Being a late night programmer , I usually do coding at home and had a hard time converting my home worked c# projects bacK to VS2002 in the morning. So I started experimenting and found out a solution. VS.NET 2003 uses a new format. So we cannot open those projects/solutions that were created/modified by VS.NET 2003 with VS.NET 2002.
Solution
The steps to be taken are as follows :-
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
2. Modify the Project Files
VS2003 has this format
<VisualStudioProject>
<CSHARP
ProjectType = "Local"
ProductVersion = "7.10.3707"
SchemaVersion = "2.0"
ProjectGuid = "{20502969-7071-4065-BDB5-09EDB3C31E3C}">
Change the product version and schemaversion to the following lines:
<VisualStudioProject>
<CSHARP
ProjectType = "Local"
ProductVersion = "7.0.9466"
SchemaVersion = "1.0"
ProjectGuid = "{20502969-7071-4065-BDB5-09EDB3C31E3C}">
That's it friends... Happy Coding!