Repository navigation
[docs] Document version-specific CLI bundle for DnxPinned mode - #2104
Closed
aspire-repo-bot[bot] wants to merge 1 commit into
Closed
aspire-repo-bot[bot] wants to merge 1 commit into
aspire-repo-bot[bot] wants to merge 1 commit into
Conversation
4 of 5 tasks
Contributor
Author
Frontend HTML artifact readyThe latest frontend build uploaded the This comment updates automatically when a new frontend build artifact is uploaded. |
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The documentation claims CLI bundle isolation that does not hold on release/17.0, so it must target the release containing the fix or qualify the behavior by version.
1 open issue
What changed in this PR
This documentation-only PR explains version-specific CLI bundle resolution for DnxPinned mode in the Aspire SDK guide, following microsoft/aspire#21473.
Changes:
- Documents the
$ASPIRE_HOME/dnx/aspire.cli/<version>bundle location and explicit path overrides. - Explains automatic setup and isolation from the global CLI’s bundle.
| File | Description |
|---|---|
src/frontend/src/content/docs/get-started/aspire-sdk.mdx |
Adds bundle resolution and isolation details to the DnxPinned description. |
Review effort: Balanced
| - **`Dnx`** — always invokes the Aspire CLI through `dnx`, using the unversioned `Aspire.Cli` package. This honors an in-scope [.NET local tool manifest](https://learn.microsoft.com/dotnet/core/tools/local-tools-how-to-use#create-a-manifest-file) (`.config/dotnet-tools.json`) if one pins `Aspire.Cli`, or resolves the latest published package when no manifest applies. | ||
| - **`DnxPinned`** — always invokes the Aspire CLI through `dnx`, using `Aspire.Cli@<version>` pinned to the exact `Aspire.Cli` version paired with `Aspire.AppHost.Sdk`. Use this when the CLI must match the AppHost SDK version exactly, ignoring any local tool manifest. | ||
|
|
||
| The pinned mode also uses a version-specific bundle. Unless you set `AspireCliPath` or `AspireCliBundlePath`, the SDK resolves the bundle only from `$ASPIRE_HOME/dnx/aspire.cli/<version>` (by default under `~/.aspire`). It runs `aspire setup` into that directory when it doesn't exist yet, so a bundle left by a different global Aspire CLI version is never used and the global CLI's bundle layout isn't modified. |
Maddy Montaquila (maddymontaquila)
changed the base branch from
release/17.0
to
main
November 17, 2026 19:15
Maddy Montaquila (maddymontaquila)
force-pushed
the
docs/pr-21473-42870387740-1-93aa858641c3ab6e
branch
from
November 17, 2026 19:28
9ef06c3 to
fc32cec
Compare
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.

Documents changes from microsoft/aspire#21473 by
@radical-authoredPR author (see source PR).Target branch: Targeting
release/17.0— the latest release branch onmicrosoft/aspire.dev— because the source PR has no milestone orrelease/*base ref to derive a more specific target (candidate_source:fallback_main,target_resolution:latest_release_fallback).Why: With
AspireCliInvocationMode=DnxPinned, the AppHost now resolves its CLI bundle only from$ASPIRE_HOME/dnx/aspire.cli/<version>rather than any bundle in the shared Aspire home. Triggered signals:pr_body_has_cli_flag_mention,diagnostic_documentation_changed.Changes:
src/frontend/src/content/docs/get-started/aspire-sdk.mdx—DnxPinneddescription now explains the version-specific bundle directory and that the global CLI's bundle isn't used or modified.