Skip to content

Breaking change: Document dnx scripts bypassing global.json SDK selection#54645

Draft
gewarren with Copilot wants to merge 2 commits into
mainfrom
copilot/update-dnx-scripts-newest-sdk
Draft

Breaking change: Document dnx scripts bypassing global.json SDK selection#54645
gewarren with Copilot wants to merge 2 commits into
mainfrom
copilot/update-dnx-scripts-newest-sdk

Conversation

Copilot AI commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

The dnx/dnx.cmd scripts were updated to always invoke the newest installed SDK (via dotnet --list-sdks) rather than going through the .NET muxer, which means global.json SDK pinning is now ignored. This broke users who had pre-.NET 10 SDKs pinned, getting cryptic Unrecognized command or argument 'execute' errors.

Changes

  • New article docs/core/compatibility/sdk/10.0/dnx-scripts-bypass-global-json.md — covers previous/new behavior, reason (version-independent commands should always use newest SDK), and workaround (dotnet dnx to restore muxer-based selection)
  • docs/core/compatibility/10.md — added SDK section entry
  • docs/core/compatibility/toc.yml — added TOC entry alongside existing dnx.ps1 article
  • docs/core/tools/dotnet-tool-exec.md — updated dnx script description to document the bypass behavior and point users to dotnet dnx for the old behavior

Versions affected: .NET 10 SDK 10.0.302, 10.0.400, .NET 11 Preview 6.

Copilot AI requested review from Copilot and removed request for Copilot July 5, 2026 17:45
Copilot AI linked an issue Jul 5, 2026 that may be closed by this pull request
3 tasks
Copilot AI requested review from Copilot and removed request for Copilot July 5, 2026 17:48
Copilot AI changed the title [WIP] Update dnx scripts to use the newest SDK Breaking change: Document dnx scripts bypassing global.json SDK selection Jul 5, 2026
Copilot AI requested a review from gewarren July 5, 2026 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Breaking change]: Update the dnx scripts to use the newest SDK

2 participants