Asked by:
Using statements are grayed out and Intellisense doesn't work on Razor pages after update to VS2019 v. 16.4.5

Question
-
User-1676235634 posted
After updating to VS2019 v. 16.4.5 the using statements in my .cshml.cs files are grayed out and Intellisense doesn't work. What's happening? How can I get around this?
Wednesday, February 19, 2020 10:28 PM
All replies
-
User1120430333 posted
Are all or some of the 'using' statements grayed- out?
Wednesday, February 19, 2020 11:09 PM -
User-1676235634 posted
All using statements are grayed out. I do get some limited Intellisense, but I cannot get to identifier definitions. Thanks.
Thursday, February 20, 2020 12:04 AM -
User1120430333 posted
You have Visual Stuido issues not .NET Core issues. which can be addressed at the below forum.
https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?category=visualstudio
Thursday, February 20, 2020 12:18 AM -
User-1676235634 posted
I shutdown my machine overnight and started it this morning. When I tried to start VS2019, it failed to start and displayed a message box which said, in effect, an update was in progress. (I don't remember specifically the message.) I allowed it to complete and the using statements are now active and Intellisense appears to be fully functional. I haven't a clue what was going on. The version number for VS2019 is unchanged.
Thursday, February 20, 2020 8:38 PM -
User379720387 posted
I have seen similar issues where intellisense looses its intelligence all together for any entire file.
Or, when I do preview changes before publishing the squiggle generator is out of whack.
Thursday, March 12, 2020 2:30 PM -
User475983607 posted
Sometimes Visual Studio flakes out running some process. Closing and reopening Visual Studio fixes the editor code helpers, at least, for me.
Thursday, March 12, 2020 2:38 PM