Reputation: 45135
I want to use the new Visual Studio diffing tool for diffing changes via TortoiseSVN. What do I type in the external tool command line box?
Upvotes: 10
Views: 5720
Reputation: 42387
You can use vsDiffMerge.exe
to do this.
Diff:
"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\vsDiffMerge.exe" /t %base %mine %bname %yname
Merge:
"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\vsDiffMerge.exe" /m %theirs %mine %base %merged
Just identify the version number and replace the 12.0
in the above commands with the want you want. (Tested with 2015, 14.0
.)
Diff:
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\vsDiffMerge.exe" /t %base %mine %bname %yname
Merge:
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\vsDiffMerge.exe" /m %theirs %mine %base %merged
Upvotes: 13
Reputation: 45135
Use this:
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe -diff %base %mine
Taken from the TortoiseSVN manual, which shows the %paramNames around halfway down the page.
http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-settings.html#tsvn-dug-settings-progs
Upvotes: 7