Skip to content

Suggest adding Microsoft.EntityFrameworkCore.Tools in some cases #3678

Open
@Rora

Description

@Rora

Type of issue

General feedback

Description

It might help to note that in some cases the package Microsoft.EntityFrameworkCore.Tools needs to be added to the migrationservice project. Without it, ef might fail silently without applying any migrations (see also dotnet/efcore#27215 (comment)).

In my particular case I was using postgres instead of sql server.

Page URL

https://learn.microsoft.com/en-us/dotnet/aspire/database/ef-core-migrations

Content source URL

https://github.com/dotnet/docs-aspire/blob/main/docs/database/ef-core-migrations.md

Document Version Independent Id

570db834-663e-58f9-b714-5938e410ebd5

Platform Id

ee92d915-b4f9-6267-19c1-fd336a24baf2

Article author

@IEvangelist

Related Issues

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions