Поделиться через


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

File type definitions let you customize the way the Team Foundation source 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 source 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 change a file type association in source control

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

  2. Click Edit….

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

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

  5. Optionally select the Enable multiple checkout check box (selected by default).

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

    Tip

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

See Also

Tasks

How to: Configure Check-out Settings

Concepts

File Types

Other Resources

Configuring Source Control Settings