Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Visual Studio Comparison Tools
Visual Studio Comparison Tools

Visual Studio Comparison Tools

Mikko Halttunen

|
34,053 installs
| (12) | Free
Visual Studio Comparison Tools is an extension for Visual Studio which uses external tools to compare files, folders and clipboard. Features: Comparing two files, selecting folders for comparison from the solution explorer and comparing (and merging) clipboard to a file or sel...
Download

Visual Studio Comparison Tools is an extension for Visual Studio which uses external tools to compare files, folders and clipboard. Features: Comparing two files, selecting folders for comparison from the solution explorer and comparing (and merging) clipboard to a file or selected area in a file. By default uses Beyond Compare if found, then WinMerge (http://winmerge.org/) and if neither is found uses VSDiff to compare files. Tested to work with Beyond Compare 3 and 4.

NOTE! VSDiff comparison still has some issues with comparing cliboard and a text selection!

For visual studio 2005/2008/2010 and source code, see the github page: https://github.com/exxxxxx/comparisontools

Compare selected area or the opened file to the clipboard:

Compare a project file to the clipboard:

Compare two project files to each other:

Setting up other comparison tools:

The tool will create a config file to "C:\Users\YOURUSERNAME\AppData\Roaming\Visual Studio Comparison Tools\config.xml". This file tells which comparison tool is being used and with which parameters.

Example configs:

  • Winmerge:

C:\Program Files (x86)\WinMerge\WinMergeU.exe
/ub [%SELECTION_TITLE%] [%CLIPBOARD_TITLE%] "[%File1%]" "[%File2%]"
/wr /dr "Clipboard (ReadOnly)"
/dl "Selection ([%SELECTION_FILENAME%])"

  • Beyond Compare 3:

C:\Program Files (x86)\Beyond Compare 3\BComp.exe
[%SELECTION_TITLE%] [%CLIPBOARD_TITLE%] "[%File1%]" "[%File2%]"
/rro /righttitle="Clipboard (ReadOnly)"
/lefttitle="Selection ([%SELECTION_FILENAME%])"

  • Beyond Compare 4:

C:\Program Files\Beyond Compare 4\BComp.exe
[%SELECTION_TITLE%] [%CLIPBOARD_TITLE%] "[%File1%]" "[%File2%]"
/rro /righttitle="Clipboard (ReadOnly)"
/lefttitle="Selection ([%SELECTION_FILENAME%])"

  • VSDiff:

C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\Common7\IDE\devenv.exe /diff "[%File1%]" "[%File2%]" [%SELECTION_TITLE%] [%CLIPBOARD_TITLE%] "Clipboard (ReadOnly)" "Selection ([%SELECTION_FILENAME%])"

Setting up other comparison tools:

  • log4net - http://logging.apache.org/log4net/index.html
    • Since version 3.3.13 log4net.config is deployed automatically in ERROR level. To modify it, go to "C:\Users\USERNAME\AppData\Roaming\Visual Studio Comparison Tools" and edit file with name VisualStudioComparisonTools.dll.log4net and change the ERROR to DEBUG
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft