Repository navigation
Move Native AOT optimized publish breaking change to .NET 12 - #56885
Open
marcpopMSFT wants to merge 1 commit into
Open
marcpopMSFT wants to merge 1 commit into
marcpopMSFT wants to merge 1 commit into
Conversation
Optimized publish was enabled in 11.0.100-rc.2, made opt-in for 11.0.100, and is enabled by default again in .NET 12 Preview 1. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 99acc4bc-4dfd-4a02-8122-4ab3c2d61beb
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain for the documentation move to .NET 12.
No open issues 🎉
What changed in this PR
Moves the Native AOT optimized-publish breaking-change documentation to .NET 12, reflecting that the feature remains opt-in in .NET 11 GA and becomes enabled by default again in .NET 12 Preview 1.
Changes:
- Documents the version history and updates the article’s release information.
- Adds the .NET 12 overview and navigation entry, and removes the .NET 11 entries.
- Preserves the old article URL with a redirect and updates the .NET 11 SDK article link.
| File | Description |
|---|---|
docs/core/whats-new/dotnet-11/sdk.md |
Updates the link and notes the .NET 12 default. |
docs/core/compatibility/toc.yml |
Moves navigation to a new .NET 12 section. |
docs/core/compatibility/sdk/12/aot-publish-skips-full-build.md |
Updates the release scope and documents version history. |
docs/core/compatibility/12.md |
Adds the .NET 12 breaking-changes overview. |
docs/core/compatibility/11.md |
Removes the optimized-publish breaking-change entry. |
.openpublishing.redirection.core.json |
Redirects the old article URL to its .NET 12 location. |
Review effort: Balanced
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.
Summary
Native AOT optimized publish was disabled for .NET 11 GA and will be enabled by default again in .NET 12 Preview 1. This PR moves the breaking-change article added in #56473 from the .NET 11 location to a new .NET 12 location and documents the version history:
UseOptimizedPublish=true) in .NET SDK 11.0.100.Changes:
docs/core/compatibility/sdk/11/aot-publish-skips-full-build.mdtosdk/12/and updated the version information.docs/core/compatibility/12.md(new .NET 12 breaking changes overview) and a .NET 12 section in the compatibility TOC.Validation:
npx --yes markdownlint-cli2on the edited Markdown files passed (0 issues); the redirection JSON parses successfully.Internal previews
Build report