Jonathan
Jonathan

Reputation: 7551

Partitioning a project into multiple solution

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:

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

Answers (1)

kroonwijk
kroonwijk

Reputation: 8400

In TFS 2010 build definitions you can refer to:

  • Multiple source control folders to include in your build workspace
  • Multiple solutions files to build in your build process

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:

  • Common developer has RW access to Common, only R access to Part1 or Part2 (to test impact of changes),
  • Part1 developer has R access to Common, RW access to Part1 and no or R access to Part2,
  • Part2 developer has R access to Common, no or R access to Part1 and RW access to Part2

This should enable your scenarios.

Upvotes: 1

Related Questions