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

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

    I did ALL of the above and in the end found that what solves it for me (on a .net framework 4.7.1 site with MVC 5.2.4) was adding this into the root web.config within -

    
      
    
    

提交回复
热议问题