I'm working with most recent Visual Studio 2012 Update 2 and I have installed official Microsoft's Git support. But when I try to diff modified file studio screams:
Failed to start the configured compare tool.
But it seems there is no configuration for compare tool in Git provider! What should I do to solve the issue?
Maybe I'm missing something?
I've asked the same question in Q&A section in Visual Studio Tools for Git support forum, but no answer for now.
Restarting Visual Studio (2019) solved it.
If anyone lands on this question for the same issue (like I did), VS 2015 has ability to configure under Git Settings.
Make sure that you've set diff.tool for the git environment that visual studio uses. Normally you find this by starting Git bash from the start menu. If you use other git tools, you must set this for the global scope:
git config --global difftool.vs11.cmd "c:/program files (x86)/microsoft visual studio 11.0/common7/ide/devenv.exe" '//diff' "$LOCAL" "$REMOTE"
git config --global diff.tool vs11
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With