Team Foundation Server (TFS) File Difference viewer - customize with other tool

梦想的初衷 提交于 2019-11-30 08:12:06

I've found the built in differencing tool in TFS woefully lacking so I set up WinMerge (http://www.winmerge.org/) in my environment in Tools -> Options -> Source COntrol -> Visual Studio Team Foundation.

A nice blog post exists below:

http://www.vitalygorn.com/blog/post/2007/12/Better-DiffMerge-tool-for-TFS.aspx

There is no ability to change the orientation of the built-in diff/merge utility. There are a lot of third-party tools (some free, some not) to choose from. Check out this post from James Manning where he tracks the correct command/argument values to use when configuring various tools for use by Team Foundation's compare and (content) merge operations.

This appears to be a more thorough description of how to use Winmerge in TFS- http://www.neovolve.com/post/2007/06/19/using-winmerge-with-tfs.aspx

Praveen Nayak

I have Visual Studio 2012 and I get to choose between side - by - side options and inline mode. With inline mode, the before and after appear one below the other so that I have the full window for editing.

Related post on StackOverflow

To use WinMerge (on SourceForge as well), you have to navigate to Tools > Options > Source Control > Visual Studio Team Foundation Server (Visual Studio 2015; other versions may have this option in slightly different places). On that Option page, select Configure User Tools... and in that dialog, select Add... to add the information for your diff tool.

In the "Configure Tool" dialog, I have set the following information:

  • Extension: .*
  • Operation: Compare (or Merge if you want)
  • Command: Path to WinMergeU.exe
  • Arguments: /x /e /u /wl /wr /dl %6 /dr %7 %1 %2
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!