Closed EmpeRoar closed 2 years ago
Should fix the issue if you add the package Microsoft.EntityFrameworkCore.Tools
Microsoft.EntityFrameworkCore.Tools fixed it.
I worked with Microsoft.EntityFrameworkCore.Tools fixed it.
Microsoft.EntityFrameworkCore.Tools fixed it. Thanks.
Microsoft.EntityFrameworkCore.Tools 3.1.10 fixed it.
Thanks You :>
I am having this same issue with .NET 5. Any workaround for this? Note I just updated VS 2019 to version 16.10.0.
I am having this same issue with .NET 5. Any workaround for this? Note I just updated VS 2019 to version 16.10.0.
I got it to work by running: dotnet tool install --global dotnet-ef
Also having this issue on .NET 5 - VS2019 Version 16.11.0 Preview 2.0
The suggestion above just gives me Tool 'dotnet-ef' is already installed.
Microsoft.EntityFrameworkCore.Tools fixed it. Ty!
When trying to create a new Migration in Visual Studio 2019 add-migration SomeMigrationName
this throws an error. "add-migration : The term 'add-migration' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again."
this used to work fine before I upgrade to Version 16.3.0 Preview 4.0
Steps to reproduce
Upgrade VS 2019 to Version 16.3.0 Preview 4.0
Dotnet Version. 3.0.100-rc1-014190
EF Library Project `
`
WebApi Project `
`
Further technical details
EF Core version: 3.0.0-rc1.19456.14 Database provider: Microsoft.EntityFrameworkCore.SqlServer Target framework: .net core 3.0.100-rc1-014190 Operating system: Windows 10 Prop IDE: Visual Studio 2019 Version 16.3.0 Preview 4.0