Skip to content

[docs] Update CLI/SDK version skew warning docs - #1786

Merged
Maddy Montaquila (maddymontaquila) merged 1 commit into
release/13.6from
docs/pr-20477-36487180665-1-4b97071438fc51bf
Sep 29, 2026
Merged

Maddy Montaquila (maddymontaquila) merged 1 commit into
release/13.6from
docs/pr-20477-36487180665-1-4b97071438fc51bf

Conversation

@aspire-repo-bot

Copy link
Copy Markdown
Contributor

Documents changes from microsoft/aspire#20477 by @davidfowl-unknown

Targeting release/13.6 — the latest release branch on microsoft/aspire.dev — because release/14.0 (from the source PR milestone 14.0) does not exist there.

Why

The source PR changes the CLI/SDK skew warning: it now appears only when the CLI is older than the SDK, build metadata is ignored, aspire update compares against the target SDK, and the message text was reworded (CodegenVersionSkewWarning). Triggered signals: cli_resource_strings_changed, pr_body_has_cli_flag_mention.

Changes (updated pages)

  • src/frontend/src/content/docs/get-started/troubleshooting.mdx
  • src/frontend/src/content/docs/app-host/typescript-apphost.mdx

Generated by PR Documentation Check for #20477 · copilot · auto · 33.9 AIC · ⌖ 17 AIC · ⊞ 20.2K · ◷

@aspire-repo-bot aspire-repo-bot Bot added the docs-from-code Copilot initiated issue from dotnet/aspire repo label Sep 28, 2026
@aspire-repo-bot

Copy link
Copy Markdown
Contributor Author

Frontend HTML artifact ready

The latest frontend build uploaded the frontend-dist artifact for PR #1786. Use the VS Code button below to open this PR with GitHub Artifacts Explorer and browse the built HTML locally.

VS Code: Open PR #1786 artifacts

This comment updates automatically when a new frontend build artifact is uploaded.

@maddymontaquila
Maddy Montaquila (maddymontaquila) marked this pull request as ready for review September 29, 2026 16:58
Copilot AI balanced review requested due to automatic review settings September 29, 2026 16:58
@maddymontaquila
Maddy Montaquila (maddymontaquila) merged commit 95d6c7c into release/13.6 Sep 29, 2026
16 of 17 checks passed
@maddymontaquila
Maddy Montaquila (maddymontaquila) deleted the docs/pr-20477-36487180665-1-4b97071438fc51bf branch September 29, 2026 16:59

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

The documented behavior has not been backported to the targeted Aspire 13.6 product branch.

Review effort: Balanced
Findings: 2 Medium severity

Open (2)
What changed in this PR

Updates CLI/SDK version-skew guidance and troubleshooting. However, the documented behavior exists only on Aspire main, not the targeted release/13.6 branch.

Changes:

  • Documents directional version-skew warnings.
  • Updates warning text and CLI remediation guidance.
File Description
get-started/​troubleshooting.mdx Updates mismatch symptoms and resolution.
app-host/​typescript-apphost.mdx Updates TypeScript AppHost warning behavior.

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +565 to +569
Before starting the AppHost, the CLI compares its built-in SDK version against the SDK version used for code generation (the `sdk.version` value in `aspire.config.json`, or the target version during `aspire update`). When the CLI is older than the SDK, the CLI prints a warning:

```text
⚠ The installed Aspire CLI version (<CLI_VERSION>) differs from the configured
Aspire SDK version (<SDK_VERSION>). If you run into errors, run 'aspire update'
to align them.
⚠ The installed Aspire CLI version (<CLI_VERSION>) differs from the Aspire SDK
version (<SDK_VERSION>) used for code generation. If you run into errors,
Comment on lines +213 to +216
The installed Aspire CLI version (X.Y.Z) differs from the Aspire SDK version (A.B.C) used for code generation. If you run into errors, update the Aspire CLI to match or exceed the SDK version.
```

This version skew can happen when you install a newer CLI (for example, upgrading to 13.4) while your project still references an older SDK version (such as 13.3), or vice versa.
The warning appears only when the CLI is older than the SDK. A newer CLI running an AppHost pinned to an older SDK doesn't produce the warning, and build metadata (the part after `+`) is ignored. During `aspire update`, the warning compares the CLI against the target SDK version rather than the version currently in `aspire.config.json`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs-from-code Copilot initiated issue from dotnet/aspire repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants