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

Move reference of Aspire.Hosting into templates #249

Merged
merged 1 commit into from
Oct 11, 2023

Conversation

joperezr
Copy link
Member

Fixes #126

cc: @davidfowl @dbreshears @danegsta @DamianEdwards

This is removing the reference to the Hosting package from the SDK targets and into the templates instead.

@joperezr
Copy link
Member Author

Putting this up to address the feedback from @davidfowl. My 2 cents on this, is that we should probably keep the reference in the SDK as the default scenario, and just have people that want to control the packageref to have it explicit in their projects. I think we are hitting this everywhere now mostly because of how fast we are changing things, but I expect this won't be the case for customers, so it would be good to have a default case for them which doesn't involve requiring references in their projects.

@joperezr
Copy link
Member Author

FWIW, I've built the new workload locally after these changes, and I was able to create, build and run the aspire template.

@joperezr joperezr enabled auto-merge (squash) October 11, 2023 23:18
@joperezr joperezr merged commit 770c5bc into main Oct 11, 2023
4 checks passed
@joperezr joperezr deleted the joperezr/MovePackageReferenceToTemplate branch October 11, 2023 23:24
@github-actions github-actions bot locked and limited conversation to collaborators May 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add the explicit package reference to Aspire.Hosting back to the App project
4 participants