TFS Repository Integration Setup

To set up an integration with a TFS repository for the project:

  1. Click the Options button on the Code Review Board.

  2. Go to the Projects tab.

  3. Select a project from the list.

  4. Click Add New Repository.

  5. Select TFS as a repository type.

  6. Specify a Host — your TFS server URL, for example:

    • http://TfsServer:80/tfs/DefaultCollection
    • http://TfsServer:8080/tfs
    • http://tfs.abc.com
    • https://webcollection.visualstudio.com/DefaultCollection/

    Note: To connect Visual Studio Online services, you need to specify a project collection in the Host field (e.g. https://myaccount.visualstudio.com/DefaultCollection/).

  7. Specify the TFS server settings

    • Remote directory — TFS server-side directory.
    • Working directory — where you check out the source code.
  8. Enter a Description.

  9. Click Credentials, and enter the login information to connect to Team Foundation Server, then click OK.

    You will be notified when a connection is established (or if the connection failed).

  10. Click Apply.

The simplest way to specify remote and working directories is to open Source Control tool window of the Team Explorer and copy corresponding values from there. An example of Remote directory for TFS: $/Projects/MyProject.

Optionally, you can select the Use Windows authentication check-box.

Note: Working directory path may vary for different PCs. The settings are stored only for the current Windows user. You can also set the working directory as a default directory or reset it to the default value.