‘Go to definition’ failed, either because the caret is already at the definition or because an explicit definition could not be found

In Visual studio if you get this below error. there are below solution we can do.

2017-06-07_0234

first check you code doesn’t have any error.

  1. Solution: If its a microsoft product then restart the program or computer system may help.
  2. open console and run below command.

navigate to the directory which visual studio version you are using.

C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE>devenv.exe / resetuserdata

Leave a comment