Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/Aspire.Cli/Scaffolding/ScaffoldingService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ private async Task<bool> ScaffoldGuestLanguageAsync(ScaffoldContext context, Can
// or NewCommand's identity-match against a registered Explicit channel — see
// `CliTemplateFactory.EmptyTemplate.cs` for how `ScaffoldContext.Channel` is sourced).
// Do NOT fall back to `CliExecutionContext.IdentityChannel`: an identity that isn't a
// registered channel (e.g. `daily` on a CLI without the staging feature flag, or `pr-<N>`
// on a machine without the matching hive) would otherwise pin a channel name that no
// PSM rule can satisfy. When unset, `PrebuiltAppHostServer` aggregates sources from
// every registered channel so `aspire add` / `aspire restore` still find the right
// registered channel (e.g. `staging` on a CLI without the staging feature flag, or
// `pr-<N>` on a machine without the matching hive) would otherwise pin a channel name
// that no PSM rule can satisfy. When unset, `PrebuiltAppHostServer` aggregates sources
// from every registered channel so `aspire add` / `aspire restore` still find the right
// packages without a per-project pin.
if (!string.IsNullOrEmpty(context.Channel))
{
Expand Down
Loading