Reputation: 7551
I'm managing a mid-size project in VS2010 (and TFS2010). We have separate teams for different parts, and a team for a "common" part which will provide frameworks and such. Source structure:
Requirements:
Non-requirement:
Sub-optimal solution I know of:
Add Common.sln to part1.sln - seems like VS just copies all project from Common.sln into part1.sln, so projects later addede to Common are not included.
Replace solution files with MSBuild target files - http://sedodream.com/2010/03/19/ReplacingSolutionFilesWithMSBuildFiles.aspx. I guess that would work, but I want the devs to update solutions from VS, not hand-edit MSBuild files.
The TFS Guide books I found calls this a "Partitioned Solution", but doesn't specify how to actually achieve it.
Any recommendations?
Upvotes: 2
Views: 800
Reputation: 8400
In TFS 2010 build definitions you can refer to:
So (if I understand your question correctly), regarding TFS team build you have no issues.
The only challenge you have left is that (maybe) on any development system of part1 or part2 developers, that developer should be able to also build the Common.sln. As long as that developer has read access to the common branch, the local workspace can contain both source code bases and both can be build by the developer.
So:
This should enable your scenarios.
Upvotes: 1