你有没有提到这一指南: http://www.codeplex.com/TFSGuide
我刚刚经历写TFS指导为我们公司得到了,我们跟着大多数从引导最佳实践建议。
我们所采用的结构是这样的:
TeamProject1
Main
Source
ClassLibrary1
ClassLibrary2
CommonCodeLibrary
TeamProject1Web
Releases
Release1
Source
ClassLibrary1
ClassLibrary2
CommonCodeLibrary
TeamProject1Web
Release2
Source
ClassLibrary1
ClassLibrary2
CommonCodeLibrary
TeamProject1Web
TeamProject2
Main
Source
ClassLibrary1
CommonCodeLibrary
TeamProject2Web
Releases
Release1
Source
ClassLibrary1
CommonCodeLibrary
TeamProject2Web
Release2
Source
ClassLibrary1
CommonCodeLibrary
TeamProject2Web
SharedTeamProject //this would represent a set of code that's used in other team projects
Main
Source
CommonCodeLibrary
Releases
Release1
Source
CommonCodeLibrary
Release2
Source
CommonCodeLibrary
基本上,我们分支主\源项目的发布\ Releasex分支时,它的时间做一个发布。
对于跨多个项目共享的代码,我们为该代码创建一个单独的团队项目,然后将其分解到各个团队项目中。在下面的例子中,SharedTeamProject代表共享代码。例如,我们将CommonCodeLibrary分支到单个团队项目的Main \ Source文件夹中。
对于客户特定的版本,您可以为它们创建适当的版本分支。
我认为最主要的是想出一个计划,您的团队同意(主要),理解并愿意遵循。确保该方案记录良好,并遵循它。结构一致性是成功源控制系统的关键之一。
来源
2009-12-22 09:55:46
dcp
我很愿意回答你的第一个项目符号的问题,使用工作区来管理每个客户的多个项目。 – 2011-03-05 20:08:25