Visual Studio “Go to definition” disabled or gray out

前端 未结 12 1314
你的背包
你的背包 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:29

    I faced the same Issue in my Visual Studio 2019 version.I followed the below Steps:

    1. Go to references folder in the solution.

    2. Click on Manage Nuget packages.

    3. Click on Browse.

    4. Search for 'Microsoft.Net.Compilers'.

    5. Click on Update.

    This Worked for me.

提交回复
热议问题