Repository navigation
build(deps): Upgrade Aspire to 17.0.0 - #384
Merged
Merged
Conversation
Moves the AppHost to Microsoft.NET.Sdk with Aspire.Hosting.AppHost and Aspire.Hosting.Dotnet, starts Web with AddDotnetProject, and keeps the Web ProjectReference from linking Web's assembly into the AppHost. CI puts the SDK folder holding dnx on PATH (expose-dnx.sh) so the AppHost build can set up the Aspire CLI bundle, and so does the Sandcastle image. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KKGWRJ4yaSJzXpXr2Tte9d
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KKGWRJ4yaSJzXpXr2Tte9d
Contributor
Test Results Summary660 tests 660 ✅ 1m 22s ⏱️ Results for commit b2463e9. |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
mpaulosky
marked this pull request as ready for review
November 29, 2026 18:18
mpaulosky
added a commit
that referenced
this pull request
Nov 29, 2026
Automated release blog posts for #384, opened by the release workflow. It holds every Release whose post isn't on main yet, rebuilt from main on each run. The [skip-release] title marker keeps its merge from starting another release. Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Why
Aspire 17.0.0 makes
Aspire.AppHost.SdkandAddProject<T>obsolete, and its C# AppHost builds only with the Aspire CLIbundle. Dependabot's bump (#383) can't build on its own, so this does the upgrade by hand, following the Blazor-Server
and auth0-management-app upgrades.
What changed
Directory.Packages.props: everyAspire.*package moves to 17.0.0, andAspire.Hosting.AppHostand the newAspire.Hosting.Dotnetare added.Aspire.Hosting.NodeJS, which nothing references, is removed.src/AppHost/AppHost.csprojusesMicrosoft.NET.Sdkwith those two packages. Its ProjectReference to Web keeps themetadata the old SDK set on it, so the AppHost builds Web first without compiling against
Web.dll(Web'sProgramwould clash with the AppHost's).
src/AppHost/AppHost.csstarts Web withAddDotnetProject("web", "../Web/Web.csproj"). A new AppHost test checksthat the path names
src/Web/Web.csproj, now that the compiler no longer checks it..github/ci/expose-dnx.sh(new, run byprepare.shin every CI job) puts the .NET SDK folder holdingdnxonPATH, so the AppHost build can set up the Aspire CLI bundle. It refuses a folder inside the checkout or one thatwould split
PATH. Its tests and a newprepare.shtest run ingate-checks.shwhen either script changes..sandcastle/Dockerfileputs/usr/share/dotnetonPATHfor the same reason.docs/CONTRIBUTING.mdlists the Aspire CLI, ordnxonPATH, as a prerequisite.No new packages beyond Aspire's own:
Aspire.Hosting.Dotnetis what replacesAddProject<T>in Aspire 17.Verification
scripts/gate.shpasses: the Release build with warnings as errors, every test project, and the new shell tests.Supersedes #383.
Generated by Claude Code