We are coming from a Visual Source Safe background and are trying to look at migrating to team foundation server 2008.
I'm having some trouble understanding how to set up the source control. Consider the following folder structure in Figure #1 below on the file system:
Figure #1:
C:\src\01-development
- Proj1
- Proj2
- Proj3
- Proj4
- Proj5
- Proj6
Now, let's say that under Proj1, I have a solution called solution1, and it has dependencies against the projects located in Proj2 and Proj3. So what I do in the solution for Proj1 is use Visual Studio's "add existing project" feature to add Proj2 and Proj3 to Proj1's solution. Now I have all three projects in Proj1's solution, enabling me to modify code, recompile the dependent projects, etc. Proj4, Proj5, and Proj6 are not related to Proj1, Proj2, and Proj3.
With Visual Source Safe, this is easy and we just checked in Proj1, Proj2 and Proj3 to the source safe repository and everything works fine.
So, now I want to set up a TFS team project for Proj1. So in Visual Studio 2008, I new File/New Team Project and type in Proj1 for the team project name and let it go through about 10 minutes of stuff and finally it creates the team project. Under the team explorer, there's a node called Source Control. If you double click that node, it'll take you to the source control explorer, and I see the TFS server name and underneath that the TFS project name (call it Proj1).
Question #1: Now, what I would like to do is to add the Proj1, Proj2 and Proj3 file system folders to this team project. So, I right click on the Proj1 node in the Source Control Explorer and do "Add Items to Folder". Then, I select Proj1, Proj2 and Proj3 from the file system, and TFS loads them into the Source Control Explorer window. But then, if I map the Local Path to C:\src\01-development\Proj1 and do a get latest, TFS will create another folder inside of the C:\src\01-development\Proj1 folder called Proj1, and it will pull all the files there. This isn't what I want to happen. I want TFS to use my existing Proj1, Proj2 and Proj3 folders in the same way Visual Source Safe would.
Is there a way to do what I want to do?
Question #2: I've used subversion and although it has its quirks, I have found it an order of magnitude easier to use than TFS. My boss is dead-set on using TFS though and I can't seem to sway him away from it. His reasoning is that TFS offers the project management integration that you don't get with subversion. I just wondered for those of you who have worked with both, are there any strong reasons to use one over the other?
Thanks.