Introducing Team Foundation Server 2010 Basic

I just prepared a short screencast where I introduce the new Basic configuration of Team Foundation Server (TFS) 2010. This video is based on TFS 2010 Beta 2 and shows how to create your first team project and add your Visual Studio solution to source control while associating it with a new user story.

[youtube http://www.youtube.com/watch?v=o75ZeH46SRU&hl=en&fs=1&]

Download Video

Hopey you find it useful. Enjoy!

Julio

Configuring Team Foundation Build 2010 Beta 2 on Windows 7

In my last post I showed how to install Team Foundation Server (TFS) 2010 Beta 2 on a Windows 7 machine and then applied the Basic Configuration to this TFS installation. In the features to install step of the installation I also selected to install the Team Build Service:

TFSConfig18

So in this post I’ll show how to configure the Team Build Service of TFS 2010 with the simplest possible configuration.

To configure the Team Foundation Build Service of TFS 2010 Beta 2:

1. Open the Team Foundation Server Administration Console from Start Menu –> Microsoft Team Foundation Server 2010 Beta 2.

2. In the Team Foundation Server Administration Console select Team Foundation Build Configuration from the left panel and then click Configure Installed Features on the right.

TFBConfig01

3. On the Team Foundation Server Configuration screen click Start Wizard.

TFBConfig02

4. On the Team Foundation Build Service Configuration Wizard start screen click Next.

TFSConfig03

5. On the Team Project Collection screen click Browse… to select the team project collection that this build machine will serve.

TFSConfig04

6. On the Connect to Team Project Collection dialog click Servers… to select the Team Foundation Server where the team project collection is located.

TFSConfig05

7. On the Add/Remove Team Foundation Server dialog click Add… to add your Team Foundation Server to your server list.

TFSConfig06

8. On the Add Team Foundation Server dialog enter localhost for the server name (we installed TFS on the same Windows 7 machine where we are configuring the Team Build Service) and leave the other fields with the default values. Then click OK and then Close in the previous dialog.

TFSConfig07

TFSConfig08

9. Back in the Connect to Team Project Collection dialog, select localhost in the server drop down list and DefaultCollection on the directory list. Then click Connect.

TFSConfig09

10. Back in the Team Project Collection screen of the wizard you can see you have now selected DefaultCollection for your team project collection. Click Next.

TFSConfig10

11. On the Configure Team Foundation Service screen, select Use the default setting and select 1 (recommended) from the drop down list. This is appropriate as we are configuring a build service for a Windows 7 laptop, so we don’t want to affect the performance of the machine with more than one build agent. Click Next.

TFSConfig11

12. On the Configure Build Machine screen select Use a user account and then enter your user credentials. I didn’t select Network Service because in the verification step (a couple of steps after this) I got a warning stating that Network Service was not part of the project collection. So for now just enter the same administrator account that you used to install TFS 2010. Make sure you specify your account as <machinename><username> because if you don’t specify the machine name and click Test it will pass the validation here but will
fail in the middle of the configuration process later (I suppose this is a bug, hopefully fixed for RTM). Leave the default port selected (9191) and then click Next.

TFSConfig12

13. On the Configuration Summary screen click Next.

TFSConfig13

14. On the Readiness Checks screen wait for all validations to pass and then click Configure.

TFSConfig14

15. On the Configuration Process screen wait until the all the configuration is done and then click Next.

TFSConfig15

16. Your Team Foundation Build Service is now ready to use. Click Close to end the wizard.

TFSConfig16

17. From now on you can check and/or change your Team Foundation Build configuration from the Team Foundation Server Administrator Console.

TFSConfig17

I must say that, besides user account problem I related in step 12, it was a pretty easy configuration and I am now curious about this new Build Controller + Build Agent environment that you have in 2010. I think it will make much more sense in a more complex environment.

I’d like to cover the actual creation of a new Team Project in the next post. I’m pretty excited to see the innovations in the process templates, specially for MSF 5.0, so keep checking the blog for some updates soon.

Julio

Installing Team Foundation Server 2010 Beta 2 on Windows 7 using the Basic Configuration

Just a few days ago Microsoft made Team Foundation Server (TFS) 2010 Beta 2 available for everyone, so I decided to download and try it to see what’s new and to also figure out if this could be a good choice for a single developer that wants to use some source control for his personal projects without having to have a big (and expensive) server, which is usually just not affordable and time consuming.

In this post I’ll describe my experience installing TFS 2010 Beta 2 on my Windows 7 laptop. Please keep in mind that, at this point, I’m not a TFS 2010 expert at all, but I have installed and configured TFS 2008 (the previous version) in the past.

Before anything else I’d like to present here the specs of my laptop so you can have some idea of the kind of hardware I’m intending to use TFS 2010 on:

LaptopSpecs

To install Team Foundation Server (TFS) 2010 Beta 2 on Windows 7:

1. Download the TFS 2010 Beta 2 ISO image from here. You can burn it to a DVD, mount it to a virtual drive using your favorite ISO management software or just extract the contents to your hard disk using a common tool like Winzip.

2. Download the latest TFS 2010 Beta 2 Installation Guide from here (Recommended for future reference).

3. Start the installation using setup.exe which you will find in the TFS-x64 and TFS-x86 folder in the root of your installation media. Choose a folder depending on your computer architecture.

4. In the Welcome screen click Next.

TFSInstall01

5. In the license terms screen click Next.

TFSInstall02

6. In the feature selection screen select the features you want to install and the install location. Then click Install and wait for the installation to complete.

TFSInstall03

TFSInstall04

7. In the final installation screen make sure the Launch Team Foundation Server Configuration Tool checkbox is checked and then click Finish.

TFSInstall05

8. The Team Foundation Server Configuration Wizard will start now. Select Basic in the left panel of the wizard start screen and click Start Wizard.

TFSInstall06

9. In the TFS Basic Configuration Wizard start screen click Next.

TFSInstall07

10. In the SQL Server selection screen select SQL Server Express if you don’t have any SQL Server instance installed on your machine. Otherwise that option will be disabled and you can choose your SQL Server instance. Then click Next.

TFSInstall08

11.In the Configuration Settings Summary screen click Next.

TFSInstall09

12. In the Readiness Checks screen wait until your proposed configuration passes all validations and then click Configure.

TFSInstall10

13. Wait until the wizard configures all required stuff and click Next.

TFSInstall11

14. Your TFS 2010 Beta 2 is now installed and configured. Click Close in the final screen to finish the configuration.

TFSInstall12

15. You can always check the details on your TFS configuration by going to the new Team Foundation Server Administration Console that you will find in Start Menu –> Microsoft Team Foundation Server 2010 Beta 2.

TFSInstall13

Some cool facts I loved during this installation are:

  • You no longer need a server OS for TFS. Your Windows 7 machine is just fine for the Basic configuration.
  • The installation is now separated from the configuration. You install the bits once and can configure/reconfigure TFS many times in the future. This will allow you to change your configuration depending on your future environment needs without performing a full installation each time.
  • The installation/configuration is very easy. You don’t need to worry about having IIS installed and configured appropriately, and the same applies for SQL Server. The wizard will take care of everything to make sure you go from zero to a complete TFS installation with only a few clicks.
  • You can now use SQL Server Express for your Basic configuration. The wizard will also install it if you don’t have it.
  • The Readiness Check is a huge time saving step. It will make sure your configuration will actually work before starting the configuration process. In previous versions you might need to wait until being in the middle of the installation process just to get an alert that tells you that you gave incorrect configuration data.

I’m already loving TFS 2010, and I have not even started to actually use it! I expect to write some more posts about my actual experience using it in my personal projects. So stay tuned!

Julio