Converting VS 2003 to VS 2005

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
Ericht
Posts: 7
Joined: Wed May 13, 2009 6:03 am

Converting VS 2003 to VS 2005

Post by Ericht » Thu Jul 02, 2009 11:56 am

I've read the knowledge base about converting but I'm still fuzzy about how I should go about this. I want to convert one project at a time. Let's say as VS2003 they are stored in repository A. After I check them out and convert them I want to check them into Repository B. Can it be done that way or should I do something before converting to copy them from A to B, then check them out from B? does that make sense or am I over complicating??

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

Re: Converting VS 2003 to VS 2005

Post by lbauer » Thu Jul 02, 2009 3:40 pm

What do you mean by "converting?" Are you referring to upgrading a project from VS 2003 to VS 2005 or changing the integration client from Classic to Enhanced -- or both?

What version of Vault are you using?
Linda Bauer
SourceGear
Technical Support Manager

Ericht
Posts: 7
Joined: Wed May 13, 2009 6:03 am

Re: Converting VS 2003 to VS 2005

Post by Ericht » Tue Jul 07, 2009 8:55 am

I'm using Vault 4.1.4.

When I say convert I am referring to the Visual Studio Project itself. So th one currently stored in Vault is a 2003 project. I want to leave that project alone and copy it to another repository and make the newly created one a 2005 project by opening it in VS2005 and letting it convert it.

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

Re: Converting VS 2003 to VS 2005

Post by lbauer » Tue Jul 07, 2009 1:16 pm

Do a Get of the VS 2003 project with Visual Studio 2003. Unbind it from source control with the File->Source Control ->Change Source Control command in VS 2003.

Now the project is independent of source control. Open it in Visual Studio 2005 to convert it. Move it to a new working folder.

Then in VS 2005, you can use either the Classic or Enhanced client integration:

http://support.sourcegear.com/viewtopic.php?t=9672

Add the project to Vault using VS 2005's File->Source Control->Add to Source control (Classic client) or File->Vault Source Control->Add to Vault.

To get another, bound copy of your VS 2003 version of the project, do a fresh Open from Source Control with VS 2003.
Linda Bauer
SourceGear
Technical Support Manager

Ericht
Posts: 7
Joined: Wed May 13, 2009 6:03 am

Re: Converting VS 2003 to VS 2005

Post by Ericht » Tue Jul 07, 2009 1:56 pm

thanks.

I had just figured out another way to do it before I read your post. I basically did the same thing except I did a get latest on the VS 2003 project to a dummy working folder. Then I added the project in the dummy working folder to the new repository, opened it in VS 2005, converted it and checked it back in to the new repository. Might be a step or two longer than how you described.

I guess what threw me in this whole process is I would expect there be a way to copy or move a project from one repository to another. i originally tried copying the project to a new name then using the move function but it wouldn't let me move to another repository. But I'm sure there's reasons beyond my understanding as to why that functionality doesn't exist.

Now to go figure out this enhanced client....

Thanks again

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

Re: Converting VS 2003 to VS 2005

Post by lbauer » Tue Jul 07, 2009 3:20 pm

We do have an Export\Import tool that allows you to export a folder from one repository and import it to another. This recreates the entire history, so it takes a while. The Export\Import tool is in the Vault Client directory.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply