Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Opening a Diff in the currently open instance of Visual Studio 2012

So I've been using the VS2012 diff tool with git recently and i dare say really like it. What's causing issues though is opening the diff using the command "devenv.exe -diff $file1 $file2" opens the diff in a new window (which takes aaaages). Anyone know if it's possible to open the diff in the current instance of Visual Studio and not a new one?

like image 271
Adam Drewery Avatar asked Oct 19 '12 15:10

Adam Drewery


2 Answers

You might want to look at this answer: use Tools.DiffFiles in the Command window.

like image 62
TauMu Avatar answered Oct 22 '22 20:10

TauMu


I am using VS2013. Since I'm always running devenv.exe as Administrator, I've managed to achieve this by launching cmd (or app that calls -diff) with Administrator permissions also.

like image 22
xb1itz Avatar answered Oct 22 '22 19:10

xb1itz