在另一个源代码控制项目中引用一个源代码控制项目(使用 TFS) [英] referencing a source controlled project (using TFS) in another source controlled project
问题描述
我有三个 VS 解决方案:
人力资源解决方案
薪资解决方案
i have three VS solutions :
Human-resource Solution
Payroll Solution
还有一个主网站(Shell);
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).
我需要的是在人力资源解决方案中引用(Shell)
what i need is to reference the (Shell) in Human-resource solution
还有工资单.
这在 TFS 中可能吗?如果是这样,如果我修改了人力资源解决方案中的壳牌,修改是否会自动传输到薪资解决方案?
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 ?
推荐答案
是的,转到 File->Source Control->Add Project from Source Control...
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
这篇关于在另一个源代码控制项目中引用一个源代码控制项目(使用 TFS)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!