Dela via


Enable Team Foundation Version Control to Get the Latest Files on Check-Out

You can configure Team Foundation version control to get the latest version of a file when you check it out. When this option is enabled, the check-out behavior is like Visual SourceSafe. For more information about how the check-out settings work, see Team Foundation Check-Out Settings.

Required Permissions

To configure check-out settings at the team project level, you must have the Manipulate security settings permission set to Allow. For more information, see Team Foundation Server Permissions.

Controlling Check-Out Behavior for a Team Project

The following procedure controls the check-out behavior for all users on a team project. If you enable the get-latest-on-check-out option, this option is forced for all team members who use the team project. They cannot override the setting. If you do not enable the get-latest-on-check-out option, a team member can still enable it on his or her own computer.

To enable or disable get latest on check-out for a team project

  1. From the Team menu, click Team Project Settings, and then click Source Control.

  2. In the Source Control Settings dialog box, select the Check-out Settings tab.

  3. Select or clear the Enable get latest on check-out box.

  4. Click OK.

Controlling Check-Out Behavior for Your Computer

The following procedure controls the check-out behavior for your computer. This affects all Team Foundation Server clients that are installed on your computer. This includes the tf.exe command line utility and third-party client software.

To enable or disable get latest on check-out for your computer

  1. From the Tools menu, click Options.

  2. In the Options dialog box, expand Source Control and select Visual Studio Team Foundation Server.

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

  4. Click OK.

See Also

Concepts

Team Foundation Check-Out Settings

Defining the Initial Configuration of Team Foundation Version Control