I'm using Vault and am having problems renaming files and moving folders. I am using Vault in CVS mode which means I am using the independent client and not the integrated Visual Studio file.
The problem is that it seems the only way to rename files is from the independent client -- but if I do this then the .sln and .csproj files will not be properly updated to reflect this change.
Additionally, even if I modify the .sln and .csproj files by hand to complete this change, it seems that Vault does not recognize .sln and .csproj files as text files; it thinks they're binary files and not mergable.
So my question is this: how can I rename files and move directories in Vault?
Problems with rename/move folders
Moderator: SourceGear
If you want to rename files and move directories and still be "kosher" with VS.NET, you might want to review this KB article:
http://support.sourcegear.com/viewtopic.php?t=297
Also, check in the Vault Admin Tool under Repository options to see if .sln and .csproj files are listed under Mergeable file types.
http://support.sourcegear.com/viewtopic.php?t=297
Also, check in the Vault Admin Tool under Repository options to see if .sln and .csproj files are listed under Mergeable file types.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
If I want the Vault repository to recognize a file rename, I must use the Vault client to perform that rename. Since that's what I need to happen, I use the Vault client, OK.
Given that has happened, what are the exact steps I need to do to get Visual Studio to recognize this rename? Do I have to edit the .sln or .csproj files by hand?
Assume that I have set .sln and .csproj files to be mergable within the Vault repository as you suggested.
Thanks for your help!
Given that has happened, what are the exact steps I need to do to get Visual Studio to recognize this rename? Do I have to edit the .sln or .csproj files by hand?
Assume that I have set .sln and .csproj files to be mergable within the Vault repository as you suggested.
Thanks for your help!
Here's something I posted a while back regarding renames:Anonymous wrote: Given that has happened, what are the exact steps I need to do to get Visual Studio to recognize this rename? Do I have to edit the .sln or .csproj files by hand?
Maybe what is needed is a list of instructions on how to do things that involve Visual Studio, such as renaming a file. I have learned that to rename a file I have an easier time if I do the following: 1) Check-in file to be renamed, 2) rename file within VS (select the file press F2), 3) exit VS (or close the project/solution), 4) Vault still has the old name, so rename file within the Vault Client (this will push the revision number up), 5) do a "Get latest version" from the Vault client (even through there are no content changes), and 6) re-open the project/ solution on VS.
gabriel magana-gonzalez