CS0012 The type System.Data.Objects.DataClasses.EntityObject is defined in an assembly that is not referenced- MVC 4
Hi, I am building my MVC 4 application and it builds fine. when I reach a page which has to interact with Entity framework it says
CS0012:The type 'System.Data.Objects.DataClasses.EntityObject'isdefinedin an assembly that isnot referenced.You must add a reference to assembly 'System.Data.Entity, Version=126.96.36.199, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
I have added reference to System.Data.Entity to my Web project and I can see its there. But still I could not trace the source of this error. I removed it re-added it. Checked if the version is correct but still it doesn't seem to work. Please help!!
Welcome to Ask Amoeba! This is 100% free and interactive site for sharing professional Questions and Answers, Opensource projects, Interview questions. Learners, beginners, Experts stop and share your knowledge and ideas!