Repository navigation
Add multi-targeting sections to trimming and AOT documentation - #50076
Merged
Merged
Conversation
Co-authored-by: sbomer <787361+sbomer@users.noreply.github.com>
Co-authored-by: sbomer <787361+sbomer@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Prepare .NET libraries for trimming with multi-targeting recommendations
Add multi-targeting section to trimming documentation
Nov 20, 2025
sbomer
reviewed
Dec 2, 2025
Co-authored-by: sbomer <787361+sbomer@users.noreply.github.com>
sbomer
approved these changes
Dec 2, 2025
sbomer
reviewed
Dec 2, 2025
Co-authored-by: sbomer <787361+sbomer@users.noreply.github.com>
Co-authored-by: sbomer <787361+sbomer@users.noreply.github.com>
Contributor
Author
Added in 78f6612. The note directs users to apply the same multi-targeting guidance when using |
sbomer
reviewed
Dec 2, 2025
Co-authored-by: sbomer <787361+sbomer@users.noreply.github.com>
Member
|
@copilot fix merge conflicts |
auto-merge was automatically disabled
January 5, 2026 19:45
Head branch was pushed to by a user without write access
Contributor
Author
sbomer
approved these changes
Jan 5, 2026
jtschuster
approved these changes
Jan 6, 2026
Co-authored-by: sbomer <787361+sbomer@users.noreply.github.com>
Co-authored-by: sbomer <787361+sbomer@users.noreply.github.com>
Co-authored-by: sbomer <787361+sbomer@users.noreply.github.com>
gewarren
pushed a commit
to gewarren/docs
that referenced
this pull request
Jan 8, 2026
…t#50076) * Initial plan * Add multi-targeting section to trimming documentation Co-authored-by: sbomer <787361+sbomer@users.noreply.github.com> * Update ms.date metadata for document changes Co-authored-by: sbomer <787361+sbomer@users.noreply.github.com> * Simplify multi-targeting section per review feedback Co-authored-by: sbomer <787361+sbomer@users.noreply.github.com> * Clarify multi-targeting recommendation to avoid TFM gaps Co-authored-by: sbomer <787361+sbomer@users.noreply.github.com> * Add multi-targeting note for IsAotCompatible Co-authored-by: sbomer <787361+sbomer@users.noreply.github.com> * Move IsAotCompatible multi-targeting guidance to AOT docs Co-authored-by: sbomer <787361+sbomer@users.noreply.github.com> * Update AOT docs and SDK errors to use net8.0 for AOT, net6.0 for trimming Co-authored-by: sbomer <787361+sbomer@users.noreply.github.com> * Recommend including latest .NET version for latest analyzer Co-authored-by: sbomer <787361+sbomer@users.noreply.github.com> * Use net10.0 as latest .NET version in examples Co-authored-by: sbomer <787361+sbomer@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Add Oxford commas to framework lists Co-authored-by: sbomer <787361+sbomer@users.noreply.github.com> * Break up long sentences for better readability Co-authored-by: sbomer <787361+sbomer@users.noreply.github.com> * Clarify multi-targeting benefits for analyzer support Co-authored-by: sbomer <787361+sbomer@users.noreply.github.com> * Rewrite - Emphasize targeting latest TFM first. - Clarify multi-targeting requirement as separate. - Update heading to match more general guidance * Add Oxford commas and fix grammar per review feedback Co-authored-by: sbomer <787361+sbomer@users.noreply.github.com> * Break up long sentences for better readability Co-authored-by: sbomer <787361+sbomer@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: sbomer <787361+sbomer@users.noreply.github.com> Co-authored-by: Sven Boemer <sbomer@gmail.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: GitHub Copilot <copilot@github.com>
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.
Adding multi-targeting sections to trimming and AOT documentation
Summary
Per @sbomer's request based on Copilot reviewer feedback:
net6.0/net8.0or later, which is required for trim/AOT analysis warnings" into separate sentences: "At a minimum, targetnet6.0/net8.0or later. This version is required for trim/AOT analysis warnings."Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.
Internal previews