could not load type 'system.data.entity.design.aspnet.entitydesignerbuildprovider'

北城以北 提交于 2019-12-18 12:54:08

问题


<add extension=".edmx" type="System.Data.Entity.Design.AspNet.EntityDesignerBuildProvider" />

this is the Assembly of my System Web.config file


回答1:


Open your web.config and add this line below in the Assemblies section:

<add assembly="System.Data.Entity.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />

For more information, check this link:

http://forums.asp.net/t/1698282.aspx

Hope this helps




回答2:


Adding to @wandos answer, here is the layout for web.config:

  <system.web>
    <compilation debug="true" targetFramework="4.5">
      <assemblies>
        <add assembly="System.Data.Entity.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
      </assemblies>
    </compilation>
    <httpRuntime targetFramework="4.5" />
  </system.web>


来源:https://stackoverflow.com/questions/17833753/could-not-load-type-system-data-entity-design-aspnet-entitydesignerbuildprovide

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!