Visual Studio 2015 Broken Razor Intellisense

后端 未结 17 1166
陌清茗
陌清茗 2020-11-28 02:04

After installing and then repairing my VS2015 instance I still cannot get intellisense (server side) to work in my MVC views. I get alerted by message promp

17条回答
  •  醉梦人生
    2020-11-28 02:29

    The /ResetUserData solution is your best bet, but I also think I have found out a possible cause of this...

    I am currently using Umbraco to create Macro Partials in the BackOffice. When these files get created I click on the Hide/Show all files button to show the Macro Partial in my solution and the Razor Syntax Highlighting seems to stop working so my guess is new files introduced into your solution that aren't created directly through VS cause this issue.

    Even when adding the files to the solution the Syntax Highlighting doesn't work.

提交回复
热议问题