rename a project

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

Moderator: SourceGear

Post Reply
joecodino
Posts: 1
Joined: Tue Sep 12, 2006 8:09 am

rename a project

Post by joecodino » Tue Sep 12, 2006 8:15 am

Hi,
I need to rename a project name and its container folder:
c:\vs\project1\project1.csproj
to
c:\vs\myproject\myproject.csproj
What's the right way to do it without loose history?
I have VS 2003 and Vault 3.1.1
Thanks,
Joe

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

Post by lbauer » Tue Sep 12, 2006 11:15 am

This really isn't supported in VS.NET 2003. You may be able to rename a file, but not a project that's under source control -- not if you want to maintain history.

http://support.microsoft.com/default.as ... US;Q305516
http://blogs.msdn.com/korbyp/archive/20 ... 54155.aspx

Just as test, I tried checking out the project to make it writable, then unbinding the project, renaming the project in Vault, and in Visual studio, and then rebinding. I also had to change all references to the project name in the solution and project files. Then I rebound the renamed solution in VS.NET to the renamed solution in Vault. It seemed to work, but when I tried to open the solution from source control, as a different user, it bombed.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply