Problem with sharing projects across solutions
Moderator: SourceGear
Re: Problem with sharing projects across solutions
I am loading using Vault
Here's order of events
1.Load Main Solution (using VS--Source control menu) - Successful
2.Add Shared solution (using VS, Add Item) - Successful
3.Save Solution. Close solution - successful
4.Restart Visual Studio
5.Load Main Solution (using VS--Source control menu, as in step 1.) - Unsuccessful.
( the Solution loads with 4 projects, but an error that can't open the one added in step 2.)
Here's order of events
1.Load Main Solution (using VS--Source control menu) - Successful
2.Add Shared solution (using VS, Add Item) - Successful
3.Save Solution. Close solution - successful
4.Restart Visual Studio
5.Load Main Solution (using VS--Source control menu, as in step 1.) - Unsuccessful.
( the Solution loads with 4 projects, but an error that can't open the one added in step 2.)
Re: Problem with sharing projects across solutions
I'm still not clear about what you mean by "loading." Are you using File->Source Control->Open from Vault? You shouldn't have to do this again once you've added the shared project and saved the solution and checked it in. You should just be able to open the solution file from disk or use File->Open in Visual Studio.
There are a lot of little details that can make a difference. I'd suggest we schedule a remote assist session where I can take a closer look. I'm available Monday afternoon , and I'm in the Central Daylight Time zone. I'll contact you via our Help system and we can set up a convenient time.
There are a lot of little details that can make a difference. I'd suggest we schedule a remote assist session where I can take a closer look. I'm available Monday afternoon , and I'm in the Central Daylight Time zone. I'll contact you via our Help system and we can set up a convenient time.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
Re: Problem with sharing projects across solutions
Yes I am using File->Source Control->Open from Vault
(tried using File--Open project now too, then it adds my main project to the shared one)
A web session would be good please. I am in BST (United Kingdom). Note that this is not GMT
(tried using File--Open project now too, then it adds my main project to the shared one)
A web session would be good please. I am in BST (United Kingdom). Note that this is not GMT
Re: Problem with sharing projects across solutions
We did an online session and determined part of the problem was that projects were in different repositories. The user is currently moving all projects into the same repository as a first step.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
Re: Problem with sharing projects across solutions
I see some past posts about people wanting to share a common project across multiple repositories. It has been said that they could all be moved into one common repository, but it seems counter-intuitive to move multiple (or all) unrelated solutions into one repository just to be able to share a common utility project. Has this been placed on the list as a feature enhancement yet? I'm using 5.1.1.19215 Standard.
Re: Problem with sharing projects across solutions
clabough: Are you suggesting sharing across repositories? If so, are you working with Vault through Visual Studio, or are you using it separately from VS?
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: Problem with sharing projects across solutions
Yes, say I have the following structure:
Project Alpha Repository
Project Beta Repository
Utility Project Repository
I'd like to be able to have the Utility Project referenced in both Alpha and Beta solutions (and any others that will utilize the Utility Project) and not have to move to this structure:
Global Repository
- Project Alpha branch
- Project Beta branch
- Utility Project branch
I'm using Visual Studio enhanced client. 5.1.1.19215
Project Alpha Repository
Project Beta Repository
Utility Project Repository
I'd like to be able to have the Utility Project referenced in both Alpha and Beta solutions (and any others that will utilize the Utility Project) and not have to move to this structure:
Global Repository
- Project Alpha branch
- Project Beta branch
- Utility Project branch
I'm using Visual Studio enhanced client. 5.1.1.19215
Re: Problem with sharing projects across solutions
In general, Vault IDE integration doesn't support solutions with projects in different repositories.
You might be able to accomplish this structure if you don't use integration -- do your source control functions to update working folders and checkin with the Vault GUI Client, and modify files with Visual Studio.
Another possibility that we can test out is to keep the solution file out of source control. The solution file has information about the projects, and if the projects are in different repositories, the projects probably won't load properly.
You might be able to accomplish this structure if you don't use integration -- do your source control functions to update working folders and checkin with the Vault GUI Client, and modify files with Visual Studio.
Another possibility that we can test out is to keep the solution file out of source control. The solution file has information about the projects, and if the projects are in different repositories, the projects probably won't load properly.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager