Razor intellisense not working in VS 2015

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

    Deleting the entire Solution and re-downloading it from Source Control is the only thing that worked for me. You might need to open the solution in VS 2013 first before you can open it in 2015... a very buggy Visual Studio release Microsoft!

    Edit: Another thing that is strange, at least for me... deleting the red zigzag underlined text then retyping it fixed the problem! Possibly just a random thing that happened to me.

提交回复
热议问题