Reputation: 840
I created a Class library(.net Core) and I'm trying to add an entity framework model but I received the following message
Would anyone tell me what I miss ?
Upvotes: 0
Views: 1124
Reputation: 41759
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
Upvotes: 4