Sourcegear / Visual Studio 2005

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
CCericola
Posts: 9
Joined: Wed Dec 26, 2007 3:39 pm

Sourcegear / Visual Studio 2005

Post by CCericola » Wed Dec 26, 2007 3:43 pm

I work in a multi-user environment, and I am not sure if this an issue with the way we have the vault configured or how we VS2005 configured, however we are having issues with project locations.

In Visual Studio 2003, when we loaded the projects from the vault it asked each of us where we wanted it. At that point, we could fix references at the project level and all would be good.

However in 2005, when we go to open the project from source control it asks where we want to place the solution. At that point, it begins placing projects relative to the solution(often resulting in multiple copies of the same projects).

Am I missing a setting somewhere? Even with attempts to standardize directories it still does not seem to work perfectly.

Client: 3.5.1 (4786)
Vault: 3.5

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

Post by Beth » Wed Dec 26, 2007 3:58 pm

Projects and solutions work a little differently. The solution file is going to keep track of where each project is supposed to be. If you want to change it, you would have to go into the Change Source Control dialog, unbind the particular project, click ok, then move where that project is at, and then return to the Change Source Control dialog and try to change it. That will change your solution file though, which means the next person will have that relative path.

You could also create a blank solution that is not in source control and then add your existing projects to it from source control and then each person just maintains their own solution that has things laid out as they like.

The easiest way to go is to make sure the person who first puts the solution into source control have the solution and relative projects in the layout that everyone prefers to use.

Post Reply