I would like to use the diff tool of visual studio 2012 with Sourcetree. Is there a way to do that?
Ok, now I have it:
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe)
(Now it would be great if it would use an existing visual studio window and won't open a new one)
You should be able to use it like so:
However unfortunately there's a bug with using 'Custom' setup right now, I've fixed this but only for 0.9.1.2+. We're having some issues with out CDN which are delaying getting this update out, but once this is resolved you should be able to get 0.9.1.2 and use this option.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, now I have version 0.9.1.2 - but It doesn't work...
If I open a command promt and use this command I get a diff window:
>"C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe" /Diff C:\Users\Stefan\AppData\Local\Temp\aiT4ea_WaveGraphRenderer.vb c:\Users\Stefan\Documents\WaveGraphRenderer.vb
But if I set the arguments in SourceTree to '/Diff $LOCAL $REMOTE' visual studio opens, the two files are opened in the IDE, but the diff window is not shown and I get the following error:
--------------------------- Microsoft Visual Studio --------------------------- The following files were specified on the command line: C:/Program Files (x86)/Git/Diff These files could not be found and will not be loaded. --------------------------- OK ---------------------------
Any idea?
Ciao!
Stefan
P.S.: SourceTree has to be restartet after every change in the options menu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Stefan, this works great for diffs. But how can I use this for merges? Is there a switch for devenv.exe for merge or should I use the vsdiffmerge.exe with these args:
$REMOTE $LOCAL $BASE $MERGED //m
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Above solutions do not work correctly. The only solution I have found which truly works, is this:
https://github.com/Inmeta/Knowledge/wiki/Setting-Up-DiffMerge
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.