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
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.