Discussion:
Moving Files to New Location in Project
(too old to reply)
quiggle
2004-08-11 20:23:11 UTC
Permalink
I think that I may be having some issues with/ the integration of Visual
Studio and SourceSafe. I would like to create a few new directories, and
then move the appropriate files from the same project into them. If I do
this solely from Visual Studio, the folders do not appear in SourceSafe, and
if I do it the other way around, the opposite is true. If anyone could
demystify the process for moving files within the same project, I'd really
appreciate it!

Thanks!

Aimee
Ulrich Eckhardt
2004-08-12 06:07:26 UTC
Permalink
Post by quiggle
I think that I may be having some issues with/ the integration of Visual
Studio and SourceSafe. I would like to create a few new directories, and
then move the appropriate files from the same project into them. If I do
this solely from Visual Studio, the folders do not appear in SourceSafe,
and if I do it the other way around, the opposite is true.
Move the files within VSS. In VS, simply remove them from the project and
add them from the new location.

Uli
quiggle
2004-08-12 16:44:31 UTC
Permalink
Thanks for the hint Uli...

After playing around with things, I was able to figure it out..For those of
you that are interested, here is what I had to do:

Check the project out in Visual Studio
Add the new file folder in Visual Studio
Check the project back in.
Go into SourceSafe and refresh.
Select the files you want to move to the new folder.
Select FileàMove. This will ensure that you retain the item's history.
This is odd I know, you have to move it out of the project, and then back to
the new directory you want it to move to.Once the initial move is done, go
to wherever you put the files, select them again, and move them to their new
home in the original project.
Go back to Visual Studio, and DELETE the file in the OLD location. (You
will be asked to check out the project)
Right click on the new folder, and select "Add Existing Item"
Select the file you have just moved to the new folder in SourceSafe.
Make the necessary changes to the file, such as changing the namespace (and
don't forget all the files that may have pointed to this file in its
original location).
Check everything back in =)

Aimee
Post by Ulrich Eckhardt
Post by quiggle
I think that I may be having some issues with/ the integration of Visual
Studio and SourceSafe. I would like to create a few new directories, and
then move the appropriate files from the same project into them. If I do
this solely from Visual Studio, the folders do not appear in SourceSafe,
and if I do it the other way around, the opposite is true.
Move the files within VSS. In VS, simply remove them from the project and
add them from the new location.
Uli
Loading...