How to: Run Team Foundation Server SDK Samples
Use the following procedure to prepare your environment for the Team Foundation Server SDK samples. Visual Studio must connect to a Team Foundation server before the methods and classes of the Team Foundation Server SDK will work on that computer.
To Run the Samples
-
Install Team Foundation Server.
If you install a non-Team Foundation version of Visual Studio, you can build samples, but they will not work on that computer.
-
In Visual Studio, connect to a Team Foundation server.
-
On the Tools menu, click Connect to Team Foundation Server.
-
In the drop-down box, select the name of the Team Foundation server that you want to use, and go to step 3.
-
If the Team Foundation server that you want to use does not appear in the list, click the Servers button.
-
Click the Add button, and type the name of the Team Foundation server that you want to use.
-
Click OK.
-
Click Close.
-
-
Under Team projects, select the team projects that you want to include.
-
Click OK to close the Connect to Team Foundation Server dialog box.
-
Load the Team Foundation Server SDK sample, build it, and then run it.