Converting a VS.Net 2003 project to Visual Studio 2005

A collection of information about Vault, including solutions to common problems.

Moderator: SourceGear

Post Reply
Tonya
Posts: 914
Joined: Thu Jan 20, 2005 1:47 pm
Location: SourceGear

Converting a VS.Net 2003 project to Visual Studio 2005

Post by Tonya » Tue Dec 20, 2005 9:25 am

When converting a VS.Net 2003 project, the Visual Studio 2005 Conversion Wizard will appear after the project has been opened. Once the conversion wizard has been successful, the solution and project files are checked out. These files will need to be checked in.

Converting a Web Project from VS.Net 2003 to 2005 unbinds the project from source code control and then re-adds it as a new project with no history information. This process is done by Visual Studio 2005 and is unrelated to Vault.

Known Issues Converting Visual Studio 2005 Projects

Web Projects:
Rebinding a web project that has just been converted to VS 2005 creates an "Invalid Handle" error message. If you attempt to check the project in or add the web site to source control, an "Invalid Handle" error message appears and Visual Studio has to be shut down. Once Visual Studio is reopened, you can then properly add the project to source code control. The temporary work around for this problem is to bind the project to source code control (using Change Source Control) and checking the solution file in.

Project Files in Read-only mode:
In some cases, projects (ProjectName.csproj) that are in read-only mode can not be successfully converted. They are write-protected and not automatically checked out of Vault. To eliminate this issue you can open the project using "Open from source control" and the project will then be converted with no errors. This issue is random and may not happen to your project files regardless if they are read-only.

For more information on coverting web projects, see this guide from Microsoft:

http://msdn.microsoft.com/library/defau ... tsvs05.asp

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Fri May 26, 2006 8:00 am

Another option is to backup or delete your VS 2003 project from your working directories and do a fresh open from source control with VS 2005. This will convert the project and maintain history in Vault, rather than creating a new project with no history.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply