07-23-2023, 02:43 AM
I'm doing a ASP.NET Core project.
I've installed `Microsoft.EntityFrameworkCore` and `Microsoft.EntityFrameworkCore.Tools` NuGet packages.
I ran `Add-Migration InitialCreate` command,
Which created `Migrations` folder and `20180905180349_InitialCreate.cs` file.
But it says
> The type or namespace name 'Migrations' does not exist in the
> namespace 'Microsoft.EntityFrameworkCore' (are you missing an assembly
> reference?)
What is the cause of this error. Do i need to install any other package ?
I've installed `Microsoft.EntityFrameworkCore` and `Microsoft.EntityFrameworkCore.Tools` NuGet packages.
I ran `Add-Migration InitialCreate` command,
Which created `Migrations` folder and `20180905180349_InitialCreate.cs` file.
But it says
> The type or namespace name 'Migrations' does not exist in the
> namespace 'Microsoft.EntityFrameworkCore' (are you missing an assembly
> reference?)
What is the cause of this error. Do i need to install any other package ?