Click here to Skip to main content
15,881,380 members
Articles / Programming Languages / C#
Article

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

Rate me:
Please Sign up or sign in to vote.
4.54/5 (13 votes)
3 Nov 2004 41.6K   14   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

XML
<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:

XML
<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


Written By
Software Developer (Senior)
India India
Just another Developer
http://anzboy.wordpress.com/

Comments and Discussions

 
GeneralAlso check the following Pin
Constantinos Petridis3-Nov-04 22:04
sussConstantinos Petridis3-Nov-04 22:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.