I have a VS.NET 2003 Database Project that's in source control via Vault. I'd like to be able to move around some of the files to different folders, but doings so generates that warning that any local changes will be lost.
So what's the best way to accomplish this so that my changes appear both on the source control side and in VS.NET? Do I move them via the Vault Client tool? I'm remiss to do that b/c, if I'm not mistaken, the actual file locations is stored in the VS.NET Project file, so moving them around in vault won't necessarily update the location in VS.NET.
What's the best way to accomplish this?
TIA
Moving Items Around in a Project
Moderator: SourceGear
That is correct that moving files around in VS won't move them in Vault (the APIs to do this are simply not there).
I would suggest unbinding the project from source control before moving things around, then moving the files in Vault at the same time you move them locally (so they match up), then attempt to bind the project to the locations in source control. You may need to checkin the unbound project/solution, then the rebound project/solution for it to work right.
I would suggest unbinding the project from source control before moving things around, then moving the files in Vault at the same time you move them locally (so they match up), then attempt to bind the project to the locations in source control. You may need to checkin the unbound project/solution, then the rebound project/solution for it to work right.