Using WinMerge with Team Foundation Server (TFS)

Here is a step-by-step instruction how to configure Visual Studio with Team Foundation Server source control to use WinMerge instad of default viewer for file diffs and merging.

The original instruction was taken from Neovolve site

In Visual Studio do the following:

  • Click on Tools menu
  • Click on Options menu item
  • Expand Source Control tree item
  • Select Visual Studio Team Foundation Server tree item
  • Click on Configure User Tools… button

Comparing

To use WinMerge as the Compare/Diff tool:

  • Click the Add… button
  • For Extension, type *
  • For Operation, select Compare
  • For Command, browse for C:\Program Files\WinMerge\WinMerge.exe
  • For Arguments, type /x /e /ub /wl /dl %6 /dr %7 %1 %2
  • Click OK to accept

Merging

To use WinMerge as the Merge tool:

  • Click the Add… button
  • For Extension, type *
  • For Operation, select Merge
  • For Command, browse for C:\Program Files\WinMerge\WinMerge.exe
  • For Arguments, type /x /e /ub /wl /dl %6 /dr %7 %1 %2 %4
  • Click OK to accept

Note: You need to click on the Save button on the tool bar within WinMerge merge to commit a merge before exiting the screen

4 Responses to “Using WinMerge with Team Foundation Server (TFS)”

  1. Always says:

    Always using this. Thanks

  2. Bob says:

    Thanks!

  3. Ash says:

    Perfect, thanks

  4. tno2007 says:

    Thanks.
    Still works with latest version at time of comment.

Leave a Reply

Your email address will not be published. Required fields are marked *