referencing a source controlled project (using TFS

2019-05-07 20:33发布

问题:

i have three VS solutions :
Human-resource Solution
Payroll Solution

And a Main web site (Shell);

Human-resource is a solution which is also a team project.

Payroll is the same, and so do the Main web Site(Shell).

what i need is to reference the (Shell) in Human-resource solution

and also in Payroll.

is that possible in TFS ? and if so, if i modified the Shell in Human-Resource solution, is the modifications transferred automatically to the Payroll Solution ?

回答1:

Yep, go to File->Source Control->Add Project from Source Control...

This will pop up a dialog allowing you to add a project from elsewhere in source control.

Once you get into sharing projects like this, it's worthwhile getting a bit robust in your source control structure, so this is worth a read:

http://tfsbranchingguideiii.codeplex.com/wikipage