Source control for multiple projects

342 views Asked by At

I've worked with SourceGear Vault for sometime for source control but I've run into a problem - which is going to be all the more common.

I have a visual studio solutions that looks like so:

-Main solution
      - Web App Project
      - Shared Class Library 1
      - Shared Class Library 2

The problem is that I can only bind the solution to one repository, however the class libraries are shared, they need to be used by multiple solutions.

Is there a source control solution that anyone knows of that will allow for a solution to contain multiple projects, all bound to different repositories?

Thanks in advance Al

2

There are 2 answers

2
Lucero On BEST ANSWER

Build the shared libraries separately and reference the assemblies. The building of the libraries can be automated (e.g. using Continuous Integration), so that this is an easy and efficient solution.

0
keatch On

A solution may be using SubVersion and the svn-externals.

You can integrate it in Visual Studio via VisualSVN plugin (you must purchase it). If you want purchase it, you can use TortoiseSVN