‘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

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s