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?)

+3


source to share


2 answers


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.

+3


source


If you want to use EF6

, use namespace instead System.Data.Entity.Core

and try again.



Upgrade to EF6

-3


source







All Articles