Repository navigation
[release/13.4] Mark Aspire.Hosting.Blazor as preview - #17694
Jose Perez Rodriguez (joperezr) merged 2 commits into
Conversation
The 13.4.0 stable build ships gateway scripts only under buildTransitive/net8.0/Scripts/, while the TypeScript AppHost loader resolves Gateway.cs from lib/net8.0/Scripts/. This breaks the TS polyglot AppHost flow out of the box. Mark the package as preview-shaped via SuppressFinalPackageVersion so consumers don't pick it up as stable until the packaging/loader issue is fully addressed. Fixes #17685 Co-authored-by: Copilot <[email protected]>
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 17694Or
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 17694" |
There was a problem hiding this comment.
Pull request overview
Marks the Aspire.Hosting.Blazor package as preview on the release/13.4 branch by setting SuppressFinalPackageVersion=true, preventing users from picking up the broken 13.4.0 stable package whose gateway scripts are packaged under buildTransitive/ while the loader resolves them from lib/.
Changes:
- Add
SuppressFinalPackageVersion=true(with explanatory comment referencing #17685) toAspire.Hosting.Blazor.csproj.
Show a summary per file
| File | Description |
|---|---|
| src/Aspire.Hosting.Blazor/Aspire.Hosting.Blazor.csproj | Keeps the package preview-shaped on 13.4.x to avoid shipping a broken stable build. |
Copilot's findings
- Files reviewed: 1/1 changed files
- Comments generated: 0
dfd226a
into
release/13.4
|
✅ No documentation update needed. docs_optional → internal_refactor No signals triggered (signal_count: 0). The only changed file is |
Fixes #17685.
Summary
The 13.4.0 stable build of
Aspire.Hosting.Blazorships the gateway scripts only underbuildTransitive/net8.0/Scripts/, while the TypeScript polyglot AppHost loader resolvesGateway.csfromlib/net8.0/Scripts/. As a result,aspire runagainst a TS AppHost that callsaddBlazorGatewayfails out of the box with:To prevent users from picking up the broken stable package on 13.4.x while the packaging/loader fix is being worked, this PR sets
<SuppressFinalPackageVersion>true</SuppressFinalPackageVersion>on theAspire.Hosting.Blazorproject so the built package stays preview-shaped on this release branch.Change
src/Aspire.Hosting.Blazor/Aspire.Hosting.Blazor.csproj: addSuppressFinalPackageVersion=truewith a comment pointing at #17685.No code/behavioral changes — only the package version shape is affected.