Merge tools in "Resolve conflicts" not shown in Visual Studio 2019
Asked Answered
S

3

6

I'm using VS 2019 and working with an ASP.NET MVC project.

I got merge conflicts that had to be resolved manually. The problem is that the button for “Merge changes in merge tool” at the top of the VS editor - is not shown.

I've seen this issue happened since 2019 and it seems that it still doesn't fix it completely...

Scyphozoan answered 20/5, 2021 at 13:16 Comment(0)
M
5

Also inconvenient when met with the same issue.

You can try below method:

Open vs 2019 (The specific vs 2019 version used: Visual Studio Professional 2019 Version 16.10.0):

Menu -> Git -> Settings =>

Source control -> Git Global Settings -> "Tools"

Click "Visual studio" for the option of "Diff Tool" and "Merge tool" respectively.

May it be helpful for you. Just enjoy!

git settings for vs 2019

Met answered 16/11, 2021 at 7:47 Comment(3)
Didn't work for me. Left it changed though. Thanks!Eason
Didn't work for us, either. But we had started a merge conflict, so I'm wondering if since a merge conflict was already initiated, VS couldn't incorporate the Merge Editor? And why doesn't Microsoft turn this feature on by default?Vada
Any luck ? I tried the above mentioned steps but still merging is not working on my visual studio. I posted similar question but got no answerSplanchnic
L
0

You can fix this issue by un-check the optimize rendering for screens with different pixel densities.

Go Tools --> Options and in General tab of Environment section and un-check the second item.

enter image description here

Based on this, it seems that this issue has been fixed in latest version.

Libby answered 16/6, 2021 at 5:13 Comment(4)
Didn't work for me.Eason
@JamesBailey Restart your Visual Studio please.Libby
Ya, that was my 1st thought too. I had already tried that and rebooting prior to commenting. It appears this is a Visual studio plugin that has bee vexing Microsoft for years. I have 2 other developers that have the same issue. We are on VS2022 (latest)Eason
@JamesBailey - I have the same issue using VS 17.4. Did you ever manage to find a solution to this annoying problem?Pleistocene
N
0

After git merge Click the "pen" icon at the bottom left of the screen:

Pending changes button

You will see a panel showing files having merge conflict, select any to open the merge editor. Save and close the file after you resolved conflict(s), a dialogue will appear telling you to accept the merged result, then click OK.

Noland answered 20/10, 2024 at 8:14 Comment(0)

© 2022 - 2025 — McMap. All rights reserved.