Visual Studio 2015: Git Window Diff Tool empty

I am using Microsoft Visual Studio Community 2015 (version 14.0.23107.0) and Visual Studio Online using Git. When I right-click on a file in Solution Explorer and select "Compare with Unmodified", a new window opens that is empty. The tab tab above the editor window is on the right. When I hover over it, it says: “Preview: file name”, while in the original window “File name” there is a tab on the left.

Team Explorer, Settings, Git, Global Settings say: Diff Tool: Visual Studio | GLobal

It says the same thing in repository settings

I remember that some time ago I could make a choice, and I clicked on "Visual Studio". Now it is read-only.

I get the same empty window when I try to investigate a merge conflict or when I try to see how the file has changed in the "Compare with previous ..." commit.

What do I need to do to get the Diff Tool to work correctly?

+6
source share
1 answer

This is an error that occurs when you have the option “Enter the selection mode when files open” is disabled (in “Tools → Options → Text editor → C # → Advanced” ). Until it is fixed, enabling this option should make the diff tool work again.

See the answer from Chris S. Nissen here: https://social.msdn.microsoft.com/Forums/vstudio/en-US/00bb6e4e-1e3c-40e4-ba09-479d67e622e2/blank-compare-window-in-vs- 2015-rc-for-c-files? Forum = tfsversioncontrol

+5
source

All Articles