I am researching how I'd like to re-structure my companies source control with TFS. The hurdle that I keep getting hung up on is the proper way to structure the source control.
Consider the following 3 project examples:
- ProjectA.UI
- ProjectA.Common (domain classes used on both sides. Currently a part of the same solution as ProjectA.UI and included in the ProjectA.WCF solution.)
- ProjectA.WCF
Option 1 (seperate all three into seperate solutions each under their own MAIN branch):
- TeamProject
- ProjectA
- ProjectA.UI
- MAIN
- Source
- .sln is here
- Source
- MAIN
- ProjectA.Common
- MAIN
- Source
- .sln is here
- Source
- MAIN
- ProjectA.WCF
- MAIN
- Source
- .sln is here
- Source
- MAIN
- ProjectA.UI
- ProjectA
Option 2 (seperate all three into seperate solutions all under a MAIN branch):
- TeamProject
- ProjectA
- MAIN
- ProjectA.UI
- Source
- .sln is here
- Source
- ProjectA.Common
- Source
- .sln is here
- Source
- ProjectA.WCF
- Source
- .sln is here
- Source
- ProjectA.UI
- MAIN
- ProjectA
Option 3 (put all three in the same solution under a MAIN branch):
Can someone point out some flaws in my designs or give me some pointers on a better idea?