

VS 2017 and compared both csproj files - the new one and the one that created by VS 2015 - )Īdditional related info by (since answers are locked)įor me (VS2019 opening an older solution) it was only affecting one project in the solution. (the way that I understood this issue was that I created new mvc project by It was all about the version of DotNetCompilerPlatform. I've done all things above but my problem did not solve (trying to open project by VS 2017),Īfter that I realized that the problem was my csproj file. The layout of my IDE (where I have tabs for instance), and what not Seems my keybindings did not restore and are back to being default.Įverything else, such as my selected theme and colorization choices, The preferences seem to restore themselves. Make sure you're comfortable with that before you have your settings synced through Microsoft, however, most of TAKE INTO CONSIDERATION WHAT and HAVE that this will reset many of your IDE customization, including Open Visual Studio, it's going to take some time to load.Open Console and navigate to Visual installation folder, in my computer is C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE.

What I found, and since it was pretty difficult to find I'm writing it down here, was to: None of the solutions proposed here has worked for me. The last couple of days I've been getting this error, at least twice a day. Why does this error occur and how can I fix it? The issue doesn't seem to occur in the 2013 version. Other solutions/projects work fine as well - it's only this one that's causing issues. The problem only occurs if the definition being targeted is in another file Go To Definition for something in the currently opened file works fine. gitignore'd files is stuck in a bad state. There are no instances of "Fody" or "Costura" anywhere in my git commit history, before or after the point in time when this started happening, so I'm thinking that one of my. I've cleaned and rebuilt the solution multiple times. I've since uninstalled it but the problem persists. I first noticed it some time after installing Costura.Fody via NuGet. I suddenly started experiencing a problem today in my project where clicking Go To Definition gives me a strange error: "Cannot navigate to the symbol under the caret." It is not currently accepting new answers or interactions. Edit existing answers to improve this post.

This question's answers are a community effort.
