The type or namespace name "Core" does not exist in the namespace
I encounter this error when I debug a project I already have EntityFramework.dll
, System.Core.dll
, System.Data.Entity
, but it Core
does not reference.
Can anyone help me?
I have an error on this line
using System.Data.Entity.Core.Objects;
This is mistake:
The type or namespace name "Core" does not exist in the namespace "System.Data.Entity" (are you missing an assembly reference?)
source to share
Enrique, I got this problem when I started to open a project on my desktop, which I used to open in my virtual machine. Masoud's answer doesn't help ... I don't think he read your original post.
What I did to clear up this compilation error was to open the NuGet Package Manager and install the update available for EntityFramework. I had version 6.1.1 installed in the project and I upgraded to 6.1.3. I shouldn't have gotten an error, but the version update seemed to not work because after that I started compiling.
source to share