Question

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'.

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top