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

前端 未结 28 1617
渐次进展
渐次进展 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

    In my case the solution was to move the ConnectionString inside the Web.Config. This statement should be after AppSettings section.

提交回复
热议问题