Visual Studio “Go to definition” disabled or gray out

前端 未结 12 1320
你的背包
你的背包 2021-02-03 21:59

Visual Studio\'s Go To Definition is disabled and F12 doesn\'t work. Other commands like Alt-F12 may continue working.

12条回答
  •  醉梦人生
    2021-02-03 22:32

    This also happens, if Visual Studio has files opened, which are not in the current Solution.

    I don't know how I got to this state, where files of a different solution where open as I didn't open them manually, but a quick check of the file path showed that those weren't files of the opened solution.

    Therefore, "Go to Definition" was disabled.

提交回复
热议问题