0

How to enable compile time error checking of views in visual studio 2012 (MVC application using entityframework) I have tried this

  <MvcBuildViews>  true </MvcBuildViews> 

Error is : Error77 Could not load type 'System.Data.Entity.Design.AspNet.EntityDesignerBuildProvider'.

Ashu
  • 462
  • 3
  • 16
  • possible duplicate question: [http://stackoverflow.com/q/17833753/1798775][1] [1]: http://stackoverflow.com/q/17833753/1798775 – Jesse Anderson May 14 '14 at 17:33

1 Answers1

1

It looks like you don't have a reference to System.Data.Entity.Design. Try the solution found here

Add

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

In your web.config file

Ben Black
  • 3,751
  • 2
  • 25
  • 43