I've been at this for over an hour now and I have not been able to get a directory under source control renamed right.
Here's the problem. I renamed the folder in Vault and locally pointed it at a new working directory. Inside of the Vault client it all looks good.
However inside of VS I
1. Don't see the new folder
2. Can't add it
3. Keeps adding the OLD folder to my project with invalidly marked file refs
So, the question is how do I get VS to see this folder that is part of the project.
How do I rename a directory right?
Moderator: SourceGear
Visual Studio doesn't handle renamed files very well.
Take a look at http://support.sourcegear.com/viewtopic.php?t=297 and see if that helps any.
Take a look at http://support.sourcegear.com/viewtopic.php?t=297 and see if that helps any.
Well I managed to get the changes to show just fine in Vault, but my question is how do I now get VS to recognize this?
I suspect I see the answer in: Delete the old folder and files, then readd through VS.Net, right?
Isn't there an easier way somehow?
The same sort of thing seems to be happening if I want to move files from one folder to another.
+++ Rick ---
I suspect I see the answer in: Delete the old folder and files, then readd through VS.Net, right?
Isn't there an easier way somehow?
The same sort of thing seems to be happening if I want to move files from one folder to another.
+++ Rick ---
did the steps from the kb article, http://support.microsoft.com/default.as ... -us;305516, help?
the kb article starts with the local vs.net's project first, and modifies the file / folder names within the repository second.adapted from kb article 305516 wrote:
- Ensure that everyone has the file you want to rename checked in.
- Rename the item locally, and make all the local changes to accommodate the renaming.
- Just before you check the item in, rename the file in the native Windows Vault Client.
- Now that the names match, check the file into the Vault repository.
- Go to a different computer and perform a Get Latest Version to make sure that all of your changes worked as expected.
Jeff Clausius
SourceGear
SourceGear