You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an ASP.NET core 3.0 app and I am running EF 6.4 on it. Queries works ok but I need to apply migrations to target DB from command line during Continuous Integration.
What is the exact command to run for that? I tried various options and none of them worked and the docs are just terrible on this.
Migrations in:
EF 6.4 + .NET Full 4.x = OK
EF Core 3.0 + .NET Core 3.0 = OK
EF 6.4 + .NET Core 3.0 = HOW?
Key points:
EF 6.4 running on .NET Core 3.0, so no web.config just appsetting.json
I need to run from command line not from Visual Studio's Package Manager Console
in .NET Core 3 project where is no NuGet "packages" folder where do I get the ef6 CLI tool from?
Further technical details
EF version: 6.4
Database Provider: EntityFramework.SqlServer
Operating system: Windows 10
IDE: VS2019
As an aside, the (unfriendly) command in the linked issue is close, but has the --assembly switch in the wrong place. It should go after the EF specific command (e.g. migrations add):
This issue has been closed because EF6 is no longer being actively developed. We are instead focusing on stability of the codebase, which means we will only make changes to address security issues. See the repo README for more information.
I have an ASP.NET core 3.0 app and I am running EF 6.4 on it. Queries works ok but I need to apply migrations to target DB from command line during Continuous Integration.
What is the exact command to run for that? I tried various options and none of them worked and the docs are just terrible on this.
Migrations in:
EF 6.4 + .NET Full 4.x = OK
EF Core 3.0 + .NET Core 3.0 = OK
EF 6.4 + .NET Core 3.0 = HOW?
Key points:
Further technical details
EF version: 6.4
Database Provider: EntityFramework.SqlServer
Operating system: Windows 10
IDE: VS2019
Others are having the same problem: #1053 (comment)
The text was updated successfully, but these errors were encountered: