Razor intellisense not working in VS 2015

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

    None of these solutions fixed it for me. What worked was ensuring my webpages version was up to date. So

    
    

    in the web.config, instead of version 2.0.0.0

    And then closing and reopening visual studio with the same solution.

提交回复
热议问题