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


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

File type definitions allow you to customize the way the source 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 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 add a file type association to source control

  1. From the Team menu, choose Team Foundation Server Settings, and then select Source Control File Types. The File Types dialog box is displayed listing the file extensions currently associated with source control.

  2. Click Add.

  3. From the Add File Type dialog box, in the Name text box, type a description for the new file type, for example, Word Documents, to add a 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 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 Document name entered in this procedure.

See Also

Tasks

How to: Configure Check-out Settings

Concepts

File Types

Other Resources

Configuring Source Control Settings