[release/13.0] don't build apphost in cli when running in extension#12631
Merged
joperezr merged 2 commits intorelease/13.0from Nov 3, 2025
Merged
[release/13.0] don't build apphost in cli when running in extension#12631joperezr merged 2 commits intorelease/13.0from
joperezr merged 2 commits intorelease/13.0from
Conversation
Contributor
Author
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/dotnet/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 12631Or
iex "& { $(irm https://raw.githubusercontent.com/dotnet/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 12631" |
adamint
approved these changes
Nov 3, 2025
joperezr
approved these changes
Nov 3, 2025
Member
joperezr
left a comment
There was a problem hiding this comment.
Localized changes, scoped to extension use, added unit tests, fixes build perf. Approved
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of #12621 to release/13.0
/cc @adamint
Customer Impact
The VS Code extension is changing to always build an apphost inside of VS Code, instead of using the aspire cli. This allows the extension to have more control over how the build process is started, using a registered task as appropriate, and how build output is presented to the end user (ie, in the debug console).
Without this change, an apphost will be built twice when users launch their app.
Testing
Manual.
Risk
Low. The change only has an effect when users are running
aspire runvia the vs code extensionRegression?
No, as the behavior change was intentional.