The type 'Expression<>' is defined in an assembly that is not referenced

前端 未结 28 1647
渐次进展
渐次进展 2020-12-24 04:39

In ASP.NET MVC 4.5.2 Framework.

after typing

@Html.LabelFor()
or 
@Html.EditorFor()

in view

I\'m getting Error: The

28条回答
  •  Happy的楠姐
    2020-12-24 05:10

    • Close the cshtml file
    • Rebuild solution
    • Open cshtml file
    • Still errors? Restart Visual studio
    • Still errors? Use ctm1988's answer

提交回复
热议问题