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

前端 未结 28 1622
渐次进展
渐次进展 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条回答
  •  一整个雨季
    2020-12-24 05:09

    Well, I got it fixed by correcting the assembly reference in /Views/web.config, see the image:

提交回复
热议问题