|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
How to: Associate a File Type with a Difference Tool
The comparing tool that is included with Team Foundation tries to open files when a compare operation is run upon them. The tool is compatible with text and XML based files; however, if you want to associate a specific file type with a third-party comparing or difference tool, use the procedure that is described below.
To perform this procedure, you must be a member of the Administrators or Users security group on the computer where Visual Studio is installed. For more information, see Team Foundation Server Permissions.
To associate a file type with a third-party compare tool
On the Tools menu, click Options.
In the Options dialog box, locate Source Control, expand it, and then click Visual Studio Team Foundation Server.
Click Configure User Tools.
In the Configure User Tools dialog box, click Add.
In Configure Tool dialog box, specify the extension you want to associate with your tool in the Extension text box, for example .cpp.
Use the Operation drop-down list to click Compare.
In the Command text box, either type the path and name to your tool, or use the ellipses (…) to locate it.
In the Arguments text box, type any arguments that your tool requires.
Repeat steps 4 - 9 to add more file type extensions.