Logic used when adding a Solution to Vault?

This forum is now locked, since Gold Support is no longer offered.

Moderator: SourceGear

Locked
BBM
Posts: 21
Joined: Sat Jul 29, 2006 3:47 pm
Location: Roswell GA

Logic used when adding a Solution to Vault?

Post by BBM » Fri Mar 16, 2007 8:06 am

Is there any documentation on how Vault (or VS) decides to structure the folders in the repository when adding a new Solution to Vault.

Specifically...

1) If the Solution references other projects not in the Solution how are they treated?
2) If the referenced project is already in Vault in another folder in the same Repository, how is it treated?
3) If the referenced project is a website or web service, is it treated differently?

Thanks.

BBM

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Fri Mar 16, 2007 9:00 am

There is a large list of articles on IDE integration in our KB Article Index.

Integration overview: http://support.sourcegear.com/viewtopic.php?t=790
IDE vs GUI: http://support.sourcegear.com/viewtopic.php?t=195
Adding Projects and Solutions: http://support.sourcegear.com/viewtopic.php?t=776
Opening Web Projects: http://support.sourcegear.com/viewtopic.php?t=5548

There's many more there.

1) When you add a solution to Vault, what you see in your solution explorer is what will be added.
2) It's treated the same way as other sub-projects. It will stay where it's at, but the solution file is what will know where to find it.
3) Differences with Web Sites and Web Projects have been found. It depends on the situation and what version of Visual Studio is being used. With VS2005 one adds a website using the Add Website which is in a different area than the other source control functions instead of Add Project.

BBM
Posts: 21
Joined: Sat Jul 29, 2006 3:47 pm
Location: Roswell GA

Post by BBM » Fri Mar 16, 2007 10:16 am

Thanks. These did the trick.

BTW your docs answer my question about where the folders above the Solution came from in my other post. I initially added the Solution to Vault when I had another project temporarily added to my Solution (a "Templates" project). So VS found the common folder (a couple of directory levels up) and added it to Vault that way - with extra folders above the Solution I was adding. I was trying to fix this by 1) removing the offending project from my Solution, and then 2) to move the Solution folder in Vault to where I wanted it. This obviously doesn't work. It straightened itself out when I re-added the Solution to Vault.

Thanks for your help.

BBM

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Fri Mar 16, 2007 12:31 pm

Happy to hear this makes more sense. It is a confusing topic.

Locked