Skip to content

Postgres/SQL Server EF components make it hard to run dotnet ef to create migrations, etc. #398

@DamianEdwards

Description

@DamianEdwards

Because the PostgreSQL and SQL Server EF components cause the app to fail on startup if the specified connection string isn't found in configuration, and that configuration is usually set by the AppHost project when running in the inner loop, you can't easily run dotnet ef to create a new migration, etc., as the dotnet ef actually runs the app in order to get a handle on the built host and container so it can interact with the DbContext.

We'll need to think about how to unblock this scenario.

Metadata

Metadata

Assignees

Labels

area-integrationsIssues pertaining to Aspire Integrations packages

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions