Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

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

  1. 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.

  2. In Visual Studio, connect to a Team Foundation server.

    1. On the Tools menu, click Connect to Team Foundation Server.

    2. In the drop-down box, select the name of the Team Foundation server that you want to use, and go to step 3.

    3. If the Team Foundation server that you want to use does not appear in the list, click the Servers button.

    4. Click the Add button, and type the name of the Team Foundation server that you want to use.

    5. Click OK.

    6. Click Close.

  3. Under Team projects, select the team projects that you want to include.

  4. Click OK to close the Connect to Team Foundation Server dialog box.

  5. Load the Team Foundation Server SDK sample, build it, and then run it.

Community Additions

© 2015 Microsoft