Fix: The type 'System.Data.Objects.ObjectContext' is defined in an assembly that is not referenced.
I got this message in a class that inherits from DbContext. It made no sense, because System.Data.Entity was definitely referenced in my ASP.NET project.
The fix was to select the reference in the properties page and change Copy Local to True.
Computers!