你有沒有提到這一指南: 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