Reputation: 613
For one of my projects i am using asp.net mvc core and in this web application, for using EntityFramework i am not able to download 'Microsoft.Data.Entity' from nuget.
Upvotes: 0
Views: 3051
Reputation: 583
you have to install 2 package using the package manager
Microsoft.EntityFrameworkCore.SqlServer
Then in your code, require it:
using Microsoft.EntityFrameworkCore;
Upvotes: 1
Reputation: 613
It was due to ASP.Net Core framework was not installed correctly, i tried it in Visual Studio 2017 and guess what it worked perfectly.
Upvotes: 0
Reputation: 41799
The package you need for EF Core is:
Microsoft.EntityFrameworkCore.SqlServer
Upvotes: 0