Udostępnij za pośrednictwem


How to: Configure Visual Studio with Team Foundation Version Control

Before you use Team Foundation version control, you must first configure Visual Studio. The following procedure demonstrates how to configure Visual Studio to use Team Foundation version control.

Required Permissions

No permissions are required to complete this task.

To configure Visual Studio to use Team Foundation version control

  1. On the Tools menu, click Options.

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

  3. In the Current source control plug-in list, 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   The default uses Visual Studio Team Foundation settings.

    • Independent Developer   Uses settings appropriate for an independent developer who does not belong to a team.

    • Custom   Uses custom settings.

    Depending on which option 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, 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, click the action you want:

    • Prompt for check out

    • Prompt for exclusive checkouts

    • Check out automatically (default)

    • Do Nothing

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

    Note

    In the Source Control node, the Visual Studio Team Foundation option configures the file types with comparing and merging tools. For more information, see How to: Associate a File Type with a Merge Tool and How to: Associate a File Type with a Difference Tool.

  9. In the Source Control node, click Visual Studio Team Foundation Server.

  10. Select or clear the Show deleted items in the Source Control Explorer box.

  11. Select or clear the Get latest version of item on check out box.

  12. Click OK.

See Also

Other Resources

Administering Team Foundation Version Control