سؤال

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

هل كانت مفيدة؟

المحلول

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top