DbContext should be defined in the namespace System.Data.Entity inside of the EntityFramework assembly, according to MS docs: http://msdn.microsoft.com/en-us/library/system.data.entity.dbcontext(v=vs.103).
I have both referenced in my project (plus System.Data.Entity) but cannot create an instance of DbContext. When I type in DbContext, there is no intellisense. But on the right side of the equation, I do see DbContext in intellisense.
DbContext test = new DbContext();
However, when I build the project, I get this error:
The type or namespace 'DbContext' could not be found.
If I add the fully qualified name, I get this error:
The type or namespace 'DbContext' does not exist in the namespace 'System.Data.Entity'.
I'm using .NET 4.5, VS.NET 2013 Premium and EF 5.
Any ideas what I'm doing wrong?