Razor intellisense not working in VS 2015

后端 未结 14 1396
南笙
南笙 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:35

    You dont need to reset the entire configurations of your Visual Studio using the devenv.exe /ResetUserData to workaround this

    Instead of it, try to just delete the contents of this directory with Visual Studio closed then reopen it: %LocalAppData%\Microsoft\VisualStudio\14.0\ComponentModelCache

提交回复
热议问题