Razor intellisense not working in VS 2015

后端 未结 14 1377
南笙
南笙 2020-12-03 05:07

When I load up my VS2013 projects in 2015, all my razor views are filled with red squiggly underlines.

@model, @Scripts @url, @Html.Partial, lambda expressions

14条回答
  •  庸人自扰
    2020-12-03 05:20

    Here's what FINALLY worked for me: Start -> Run -> (Or Windows Key + R) Then type "devenv.exe /resetuserdata" (no quotes of course)

    I did not have to delete the .vs file, as some others had experienced.

    See also: Visual Studio 2015 Broken Razor Intellisense

提交回复
热议问题