Visual Studio 2015 Broken Razor Intellisense

后端 未结 17 1209
陌清茗
陌清茗 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:23

    There is another solution, without reset all user data

    (but only window layouts/toolbars):

    close all VS2015 instances, [eventually backup, and] delete the folder:

    "[User Directory]\AppData\Roaming\Microsoft\Visual Studio\14.0"
    

    Now, re-open VS2015: layout was reset to factory preset, but Razor syntax would work

提交回复
热议问题