Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
Time to roll up our sleeves and dig into Microsoft Team Foundation Server. Microsoft Team Foundation Server is a centralized revision control system. This means that there is a server with an actual database that holds your repository and all of your projects. There are two versions. There is the full on TFS, which requires an installation of full SQL Server and has to be run on a Windows Server Installation, and that's great for enterprises and large groups. There's also a free for open-source hosted version at codeplex.com.
And just recently, Microsoft introduced the Team Foundation Server Express Edition 2012, another one of those great names which is free for up to five users. It's something you can download and install, and it requires installation of SQL Server Express, but that's something that you get with Visual Studio 2010 and Visual Studio 2012. There is also a number of commercial companies which host TFS installations, including discount ASP which has a 30 days free for five users and then fairly reasonable fees for hosting a TFS installation.
For this chapter we're going to install the Team Foundation Server Express 2012, abbreviated TFS. You can just as easily work through this chapter using the free TFS server on codeplex or your own full installation of TFS. The link of installation binaries and the Links.rtf file in the Exercise's directory. The installation of Team Foundation Server Express 2012 is straightforward; however, you may run into an issue with SQL Server permissions if you've had a previous version of Visual Studio or SQL Server installed on your development machine.
There's a link in the Links.rtf file to a page where you can download a script to fix this issue. The installation of TFS Express is essentially hands-off and takes about 30 minutes, so we're not going to do a full walk-through. Also, while some TFS functionality can be done from the command line, the real TFS experience is within Visual Studio. So we'll be doing everything for TFS using the Visual Studio GUI. So let's fire up Visual Studio and make sure that we've got Team Foundation Server properly installed.
To validate that you've got TFS installed you can see that you've got the TEAM menu. So we selected TEAM menu and select Connect to Team Foundation Server. Here you can see this is a list of team project collections and projects. We don't have any servers installed yet, so we're going to click the Servers button, then we're going to click Add, then we're going to enter the name of the machine on which the TFS Server is installed. In our case here, it's car-booth-06-pc. By default, TFS works on a TFS PATH and a Port Number of 8080 and over HTTP.
Your administrator may have additional settings for you here, different Port Numbers, different Paths, use of HTTPS. Check and ask your administrator for the URL of your Team Foundation Server if you're using something other than the Team Foundation Server Express. If you're using codeplex, go to the Source Code Control Tab and select the Source Code Control, connect information, and it will give you an HTTP URL and the User ID and Password that you'll need to connect to the TFS instance on codeplex.
So over here, we're just going to click OK and then we're going to click Close, and now you can see we've got Team Foundation Server, and it has a default collection, so from that point of view, we're good to go. So we'll click Connect, and now we see the Team Explorer - Home. So that's it for our TFS setup. Now let's move on to creating a team project and then creating some projects to check in to our TFS instance.
Get unlimited access to all courses for just $25/month.Become a member
82 Video lessons · 101001 Viewers
61 Video lessons · 87790 Viewers
71 Video lessons · 71666 Viewers
56 Video lessons · 103555 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.
Your file was successfully uploaded.