Skip to content

Add support for existing publish profiles #694

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
brettpostin opened this issue May 20, 2025 · 0 comments
Open

Add support for existing publish profiles #694

brettpostin opened this issue May 20, 2025 · 0 comments

Comments

@brettpostin
Copy link

brettpostin commented May 20, 2025

Related to an existing integration?

Yes

Existing integration

CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects

Overview

I'm not sure if this is already possible, but it would be good if an existing publish profile could be used instead of setting all config using WithConfigureDacDeployOptions.

I have a publish profile with all desired deployment config for local development when deploying the sqlproj directly in SSDT. I want to avoid having to duplicate and keep that config in sync in Aspire.

Usage example

builder.AddSqlProject<Projects.My_Database>("dacpac-deployment")
.WithProfile(name/path)
.WithReference(sql)
.WaitFor(sql);

Breaking change?

No

Alternatives

N/A

Additional context

No response

Help us help you

No, just wanted to propose this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant