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

前端 未结 28 1755
渐次进展
渐次进展 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 04:47

    I had this problem too. Changing targetFramework="4.5.2" to targetFramwork="4.5" in web.config file solved it.

提交回复
热议问题