I started evaluating Vault (3.1.6.3158) yesterday for an existing VS2003 solution w/ 8 projects. I've just added the solution to source control (everything ran OK) but I've noticed the directory strucure is all messed up.
My main solution and default project have the same name, and what it seems to have done is correctly added the solution and all dependent projects, but the main (default) project and it's subdirectories have been moved up a directory level, so they're at solution level.
We need to add a second solution to this repository, which share some of the sub-projects. If I do this, we'll end up with files overwritten. Unfortunately, renaming the solution or projects isn't an option.
Am I doing something dumb here, or what do I need to do to fix this?
Thanks in advance,
Dunc
Directory structure all messed up
Moderator: SourceGear
Unfortunately, we don't have much control over where Visual Studio decides to put projects into the source control provider. We have to put source files where the client tells us to, and in this case, it is the IDE that tells us what to create, and where to put the files. The only way to have complete control over where your files reside in Vault is to not use VS SCC integration at all (and just do source control through the Vault GUI client).
For more information in regards to structuring solutions and projects you may want to review the following Microsoft KB article:
http://msdn.microsoft.com/library/defau ... lg_ch3.asp
Below is also more information in regards to sharing projects using VS.Net:
http://support.sourcegear.com/viewtopic.php?t=890
Please let me know if this information doesn't help.
Thanks,
Tonya Nunn
SourceGear Support
For more information in regards to structuring solutions and projects you may want to review the following Microsoft KB article:
http://msdn.microsoft.com/library/defau ... lg_ch3.asp
Below is also more information in regards to sharing projects using VS.Net:
http://support.sourcegear.com/viewtopic.php?t=890
Please let me know if this information doesn't help.
Thanks,
Tonya Nunn
SourceGear Support
Tonya,
Thanks for the reply. For some strange reason, the directory structure of the app (created by VS2k3) is different to the directory structure of Vault.
I've since found a workaround by tweaking the .sln file manually or changing the path of the initial solution when you add it to source control, but it'd be nice for this to work automatically.
Cheers,
Duncan
Thanks for the reply. For some strange reason, the directory structure of the app (created by VS2k3) is different to the directory structure of Vault.
I've since found a workaround by tweaking the .sln file manually or changing the path of the initial solution when you add it to source control, but it'd be nice for this to work automatically.
Cheers,
Duncan