Udostępnij za pośrednictwem


How to: Add File Type Association with Team Foundation Version Control

File type definitions allow you to customize the way the version control system processes files with specific extensions. By defining a file type, you control whether files with a given extension allow multiple users to be able to modify a specific file in parallel. The following procedure demonstrates how to add a file type extension association in version control.

Required Permissions

To add a file type association, you must have the Edit server-level information permission set to Allow. For more information, see Team Foundation Server Permissions.

To add a file type association to version control

  1. On the Team menu, click Team Foundation Server Settings, and then click Source Control File Types. The File Types dialog box is displayed listing the file extensions currently associated with version control.

  2. Click Add.

  3. From the Add File Type dialog box, in the Name box, type a description for the new file type, for example, Word Documents, to add a Microsoft Word document file association to version control.

  4. In the File Extension box, type or click the file type extension, for example doc, for Microsoft Word document files.

  5. Optionally, select the Enable file merging and multiple check out check box (selected by default).

  6. Click OK to return to the File Types dialog box with the new entry reflected.

    Tip

    You can specify multiple file type extensions to be associated with a single name, for example you could add dot to the Word Documents name entered in this procedure.

See Also

Tasks

How to: Configure Check-Out Settings

Concepts

File Types

Other Resources

Configuring Version Control Settings