Skip to content

Add breaking change: NativeAOT CLI command handling enabled by default - #55223

Merged
gewarren merged 3 commits into
mainfrom
copilot/breaking-change-nativeaot-cli-command-handling
Aug 4, 2026
Merged

Add breaking change: NativeAOT CLI command handling enabled by default#55223
gewarren merged 3 commits into
mainfrom
copilot/breaking-change-nativeaot-cli-command-handling

Conversation

Copilot AI commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Starting in .NET 11 Preview 7, the NativeAOT-compiled command-handling fast path for the dotnet CLI is enabled by default on all platforms, controlled by DOTNET_CLI_ENABLEAOT (previously off by default). This adds the corresponding breaking change documentation.

New article

  • Added docs/core/compatibility/sdk/11/native-cli-command-handling-enabled.md describing previous/new behavior, reason for change, and recommended opt-out (DOTNET_CLI_ENABLEAOT=false/0/no/off) via --- title/description/ms.date/ai-usage frontmatter and standard breaking-change sections.

Index updates

  • Added entry to docs/core/compatibility/toc.yml under SDK and MSBuild for .NET 11.
  • Added entry to docs/core/compatibility/11.md breaking changes table.

Verified, no change needed

  • docs/core/tools/dotnet-environment-variables.md already documents the DOTNET_CLI_ENABLEAOT Preview 7 default change.

Internal previews

File Preview link
docs/core/compatibility/11.md docs/core/compatibility/11
docs/core/compatibility/sdk/11/native-cli-command-handling-enabled.md docs/core/compatibility/sdk/11/native-cli-command-handling-enabled
docs/core/compatibility/toc.yml docs/core/compatibility/toc

Copilot AI review requested due to automatic review settings August 4, 2026 15:47

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 was unable to review this pull request because there is no eligible user to bill. To allow Copilot reviews on bot-authored pull requests, enable direct organization billing in your organization's Copilot settings.

… default

Co-authored-by: gewarren <24882762+gewarren@users.noreply.github.com>
Copilot AI changed the title [WIP] Update default behavior for NativeAOT CLI command handling Add breaking change: NativeAOT CLI command handling enabled by default Aug 4, 2026
Copilot AI requested a review from gewarren August 4, 2026 15:49

@gewarren gewarren left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@copilot Please add a link to https://learn.microsoft.com/dotnet/core/tools/dotnet-environment-variables#dotnet_cli_enableaot in the appropriate places. But use a file-relative link instead of absolute URL.

Comment thread docs/core/compatibility/sdk/11/native-cli-command-handling-enabled.md Outdated
… wording

Co-authored-by: gewarren <24882762+gewarren@users.noreply.github.com>

Copilot AI commented Aug 4, 2026

Copy link
Copy Markdown
Contributor Author

@copilot Please add a link to https://learn.microsoft.com/dotnet/core/tools/dotnet-environment-variables#dotnet_cli_enableaot in the appropriate places. But use a file-relative link instead of absolut...

Added file-relative links to DOTNET_CLI_ENABLEAOT in the intro, previous behavior, new behavior, and recommended action sections in 456130e.

Copilot AI requested a review from gewarren August 4, 2026 18:02
@gewarren
gewarren marked this pull request as ready for review August 4, 2026 18:03
@gewarren
gewarren requested a review from a team as a code owner August 4, 2026 18:03
@gewarren
gewarren merged commit b66ca53 into main Aug 4, 2026
12 checks passed
@gewarren
gewarren deleted the copilot/breaking-change-nativeaot-cli-command-handling branch August 4, 2026 21:42
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]: NativeAOT CLI command handling enabled by default (DOTNET_CLI_ENABLEAOT)

4 participants