Skip to content
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

[WebToolsE2E] "AddPostgres" missing reference when do scenario "Deploy a .NET Aspire project to Azure Container Apps using the Azure Developer CLI (in-depth guide)". #2105

Open
Yangfanyue opened this issue Nov 18, 2024 · 0 comments
Labels
⌚ Not Triaged Not triaged

Comments

@Yangfanyue
Copy link

Document: Deploy a .NET Aspire project to Azure Container Apps using the Azure Developer CLI (in-depth guide)

Describe the issue or suggestion
Issue description:
After updating the Program.cs file in the AppHost project. "AddPostgres" missing reference.

'IDistributedApplicationBuilder' does not contain a definition for 'AddPostgres' and no accessible extension method 'AddPostgres' accepting a first argument of type 'IDistributedApplicationBuilder' could be found (are you missing a using directive or an assembly reference?)
Image

Suggestion:
Before replacing the code for Deploy infrastructure updates, you should download "Aspire.Hosting.PostgreSQL" first.

@dotnetrepoman dotnetrepoman bot added the ⌚ Not Triaged Not triaged label Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⌚ Not Triaged Not triaged
Projects
None yet
Development

No branches or pull requests

1 participant