In ASP.NET MVC 4.5.2 Framework.
after typing
@Html.LabelFor() or @Html.EditorFor()
in view
I\'m getting Error: The
For me, there was an option under the project menu to "Enable C# 6.0/VB 14". Selecting this option did the trick. Previously I tried modifying the web.config, restarting Visual Studio, etc as was suggested in this post.