문제

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