Paul
Paul

Reputation: 1455

Shared projects across repositories

I am struggling with an issue where my company is attempting to white label it's solution. We have a Solution A, inside Repository A like this

Repository A
      Solution A
          Project A
          Project B
          Project C
          Project D
          Project E (not shared and dependent on project A/B/C/D)

We wish to share a number of projects from Solution A into another Solution B which exists in Repository B. For example

Repository B
      Solution B
          Project A (From Solution A and Repository A)
          Project B (From Solution A and Repository A)
          Project C (From Solution A and Repository A)
          Project D (From Solution A and Repository A)
          Project F (not shared and dependent on project A/B/C/D)

This way when any of the Project A/B/C or D are updated and committed, then the Solution B will just need to be updated and Projects A/B/C and D will be updated from Repository A. Project F will then be built against the new version of Project A/B/C and D.

Is this even possible with TFS?

Please note we require the actual projects in the solutions not the assemblies. This is for debugging purposes.

Upvotes: 0

Views: 59

Answers (2)

egomesbrandao
egomesbrandao

Reputation: 788

This is possible! But you know Nuget.org? I think Nuget is the best solution for your case. In this presentation Scott Hanselman shows how use NuGet as Enteprise solution: NuGet for the Enterprise: NuGet in a Continuous Integration Automated Build System

Upvotes: 1

Quinton Bernhardt
Quinton Bernhardt

Reputation: 4793

Considering only the following clear requirement

Please note we require the actual projects in the solutions not the assemblies.

You could just keep one solution - with project E, F, ..., N being the white labeled applications.

Like such:

Repository A
      Solution A
          Project Library A
          Project Library B
          Project Library C
          Project Library D
          Project Whitelabel E
          Project Whitelabel F
          Project Whitelabel N

Upvotes: 0

Related Questions