Home > front end >  VS 2019 Intellisense Suddenly Quit Working in View/Razor Files
VS 2019 Intellisense Suddenly Quit Working in View/Razor Files

Time:01-16

I have been working on this project for a couple months and suddenly intellisense quit working only in the view/cshtml files. I had left VS open and debugging for several days without working on the project. When I came back I didn't have any color coding for the C# parts of the files. I also found that it doesn't work in any of the views, but does work in my controllers and models. I have tried many suggestions, but to no luck. I tried everything in this link.

I am working on a basic MVC app in VS2019. I have Bootstrap 3, Jquery, and Entity Framework installed.

I would greatly appreciate any help. This is driving me nuts.

Update: This is also not working in any solutions in Visual Studio. So maybe something wrong in VS?

CodePudding user response:

The problem was fixed after installing Visual Studio 2022 and opening the project there. Still in the dark as to what caused the problem in VS2019.

  •  Tags:  
  • Related