Getting Started With Team Foundation Service – Part 2
Connecting Visual Studio to Team Foundation Service
For this effort, I will be utilizing Visual Studio 11 Beta which you can download here. If you wish to use Visual Studio 2010, be sure you have installed the hotfix here. Although your 2010 screenshots will differ slight, the steps are the same for either version of Visual Studio. (If you haven’t set up your team project in Team Foundation Service, see my previous post: Getting Started With Team Foundation Service – Part 1.)
- Open Visual Studio.
- If Team Explorer isn’t already open, go to the menu bar at the top of Visual Studio, select View, and then select Team Explorer. There’s a shortcut key combination too, but it’s kinda strange so I never use it.
- Just below the Team Explorer toolbar, click the drop-down arrow at the far right. From the context menu that appears, hover over Projects and My Teams and then select Connect to Team Projects…
- When the Connect to Team Project dialog appears, click the Servers… button.
- When the Add/Remove Team Foundation Server dialog appears, click the Add… button.
- The Add Team Foundation Server dialog appears. At the top of the dialog, enter the URL to your Team Foundation Service and click the OK button.
- If there were no issues connecting, when you return to the Add/Remove Team Foundation Server dialog, you should see your server listed. Click the Close button.
- Be sure your server is selected in the dropdown list and your team project collection is selected on the left pane of the Connect To Team Project dialog. Put a checkbox next to one or more team projects on the right and click the Connect button.
Now, that you have connected Visual Studio to Team Foundation Service, you are able to create work items, setup automated builds, and utilize all of the other cool features! In my next post, we’ll talk about finally getting some code up there!