There’s one more possible culprit (at least in Visual Studio 2017). If none of the solutions work (like for me). You should go to:
Tools -> Options -> Text Editor -> General
and turn off the Enable mouse click to perform Go To Definition or change the modifier key to something else.