Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

this is the Assembly of my System Web.config file

like image 499
Ahtesham Avatar asked Jul 24 '13 12:07

Ahtesham


2 Answers

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

like image 61
wandos Avatar answered Sep 28 '22 04:09

wandos


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>
like image 38
GregoryBrad Avatar answered Sep 28 '22 04:09

GregoryBrad