When I go to build my project, I get this error:
The type 'System.Data.Entity.DbContext' is defined in an assembly that is not referenced. You must add a reference to assembly 'EntityFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
I am trying to access my DbContext
that I created with EF5. I tried to add System.Data.Entity.DbContext
to my references, but I couldn't find it. What should I do?
It should install the missing version.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.