0
votes

I created a Class library(.net Core) and I'm trying to add an entity framework model but I received the following message

enter image description here

Would anyone tell me what I miss ?

1
I'm trying to add entityframe work database first .emx template file to a class library .net core - Ibrahim Kais Ibrahim

1 Answers

4
votes

You cannot add a EF6 model to a .NET Core project, you must use EF Core code first/scaffoling. Start by adding th Microsoft.EntityFrameworkCore.SqlServer Nuget package