Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

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

0.00/5 (No votes)
3 Nov 2004 1  
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!

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here