This documentation is archived and is not being maintained.

How to: Configure Visual Studio with Team Foundation Source Control

Before you use Team Foundation source control, you must configure Visual Studio to do this. The following procedure demonstrates configuring Visual Studio to use Team Foundation source control.

Required Permissions

No permissions are required to complete this task.

To configure Visual Studio to use Team Foundation source control

  1. On the Tools menu, click Options.

  2. In the Options dialog box, locate Source Control, expand it, and then click Plug-in Selection.

  3. In the Current source control plug-in list box, click Visual Studio Team Foundation Server.

  4. In the Source Control node, click Environment.

  5. In the Source Control Environment Settings, click one of the following options:

    • Team Foundation   Default uses Visual Team Foundation settings.

    • Independent Developer   Uses settings appropriate for an independent developer who is not on a team.

    • Custom   Uses custom settings.

    Depending on which option that you select, the following options are available:

    • Get everything when a solution or project is opened

    • Check in everything when closing a solution or project

    • Display silent check out command in menus

    • Keep items checked out when checking in

  6. Under the Check-in items section, in the Saving list box, select the action you want when saving files and folders:

    • Check out automatically (default)

    • Prompt for check out

    • Save as

  7. In the Editing list box, click the action you want:

    • Prompt for check out

    • Prompt for exclusive checkouts

    • Check out automatically (default)

    • Do Nothing

  8. Optionally, select the Allow checked-in items to be edited option.


    In the Source Control node, the Visual Studio Team Foundation option is used to configure file types with comparing and merging tools, these instruction are explained in How to: Associate a File Type with a Merge Tool and How to: Associate a File Type with a Difference Tool.

  9. Click OK.

See Also