When using Visual Studio 2015 with the latest updates, Intellisense and CodeLens do not work correctly. Syntax highlighting, code completion, and property / method references (not necessarily the exact name for this) are shown very inconsistently or not at all. These work for some things, and not for most others. Errors do not appear at all without an explicit assembly, and even then they appear one at a time, which is very time-consuming.
I should notice that this does not happen in XAML, just in my .cs files. I could not reproduce these problems either in the WPF project or in the Windows Forms project; I see this only in my Xamarin.Forms solution.
I tried restarting VS, closing the solution and restarting VS, rebooting my machine, resetting the “Completing the statement” settings in the VS settings, deleting the solution .suo file, resetting the settings using the Import and Export Wizard, but nothing changed. I would be grateful for any suggestions.
Update : removal of all Xamarin-related VS-extensions and NuGet packages, and upon reinstallation, things seem to be fixed, at least for now.
Further update . I discovered this problem again shortly after my first update. It turns out that the path for one of my projects had too many characters (???), so I moved the entire solutions folder to the root of my C drive. Since then I have not had any problems.
source
share