Udostępnij za pośrednictwem


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

File type definitions let you customize the way the Team Foundation version control system processes files that have specific extensions. By defining a file type, you control whether files that have a particular extension can have internal keywords expanded during a check-in, and whether multiple users can modify a specific file in parallel. The following procedure demonstrates how to change a file type extension association in version control.

Required Permissions

To edit 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 change a file type association in version control

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

  2. Click Edit….

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

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

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

  6. Click OK to return to the File Types dialog box and see that the new entry is reflected.

    Tip

    You can specify multiple file type extension associations with a single name; for example you could add dot to the Word Documents name entered earlier.

See Also

Tasks

How to: Configure Check-Out Settings

Concepts

File Types

Other Resources

Configuring Version Control Settings