Repository navigation
Description
Background
A recent product update has been released that may impact our documentation. This could include new features, changes to existing functionality, or other product enhancements.
Your Action Required: Please review the suggestions below and update the relevant documentation to ensure accuracy and completeness.
Signal Details:
- Title: maui 10.0.110
- Source URL: https://github.com/dotnet/maui/releases/tag/10.0.110
- Repository: https://github.com/dotnet/maui
- ReleaseWindowUtc: 2026-09-07 17:13:51Z - 2026-09-22 16:32:41Z
- TargetBranch: release/10.0.1xx-sr11
- currentTag: 10.0.110
- targetCommitish: release/10.0.1xx-sr11
- releaseUrl: https://github.com/dotnet/maui/releases/tag/10.0.110
- previousTag: 10.0.101
Source Signal Summary
Details
- .NET MAUI SwipeView / SwipeItemView, ListView.RefreshCommand, and Shell BackButtonBehavior command subscriptions no longer hold strong
ICommand.CanExecuteChangedevent handlers; they now route through the framework’s weak-subscription patterns (WeakCommandSubscription/CommandElement/ICommandElement) so long‑lived/customICommandimplementations won’t keep these UI objects alive after they’re unloaded/eligible for GC (whileIsEnabled/CanExecutebehavior is intended to remain the same). (PR #36357, PR #36369, PR #36370) - .NET MAUI memory-retention fixes via weak event subscriptions and safer collection handling:
IndicatorView.ItemsSourceno longer leaks when set to a long-livedINotifyCollectionChanged/ObservableCollection(usesWeakNotifyCollectionChangedProxyand a new~IndicatorViewfinalizer to tear down subscriptions).TableView/TableRootno longer retain views via strong root/section collection/title change subscriptions (now weak subscriptions).- Shapes
GeometryGroupuses weak subscriptions forCollectionChanged/PropertyChangedand now treatsChildren == nulland null entries inChildrenas “empty” (skipped) rather than converting/throwing. GradientBrush.GradientStops.Clear()(Reset withOldItems == null) now unsubscribes from previously attachedGradientStop.PropertyChangedbefore resubscribing, preventing leaks/incorrect tracking whenGradientStopinstances are shared/duplicated (explicit handling for Add/Remove/Replace/Move/Reset). (PR #36252, PR #36513, PR #36526, PR #36746)- .NET MAUI (Android) safe-area/insets behavior updates:
- Correctly respects
SafeAreaEdges=Nonewhen the navigation bar is hidden by clearing stale top padding when collapsing the toolbar height (removes the blank “status bar height” gap). - RTL arrange mirroring now occurs within the parent’s padded content box (accounts for
PaddingLeft/PaddingRight), preventing RTL content from shifting into cutout/safe-area regions after rotation. - During IME (soft keyboard) animations, a view that reattaches mid-animation can receive one valid inset dispatch immediately to establish initial padding (reducing the “first frame zero padding then jumps” issue).
- The translated-view IME/safe-area “full-screen transition” heuristic now applies only when
viewHeight >= screenHeight - top - bottom, preventing smaller translated controls (e.g., bottom sheets) from incorrectly retaining a top inset. (PR #36072, PR #36586, PR #37049, PR #38295) - .NET MAUI safe area behavior on iOS: safe-area invalidation now propagates to descendants (
InvalidateSafeAreaWithDescendants), and safe-area “parent blocking” is resolved per edge (Left/Top/Right/Bottom) for bothMauiViewandMauiScrollView(includingSystemAdjustedContentInsetpaths), changing how nested views/scroll views avoid double-applying insets and when layouts re-measure after safe-area edge/keyboard changes. (PR #38301) - .NET MAUI CollectionView (Items2/CV2) on iOS and Mac Catalyst no longer expands to fill available height/width when it has no items and no
EmptyView; it now correctly measures/collapses to zero size (while still forcing a temporary layout pass when needed, e.g., pre-mount measurement or when the nativeUICollectionViewframe is zero in the scroll direction after transitioning from empty to non-empty). Also on iOS (Items2), RefreshView pull-to-refresh now triggers even whenCollectionView.EmptyViewis displayed by keeping the EmptyView hosted inside the nativeUICollectionView(with RTL/LTR preserved via a compensating transform and flow-direction/alignment updates during layout). (PR #36127, PR #38296) - .NET MAUI grouped CollectionView behavior is now more consistent/stable:
- With
GridItemsLayout(Span > 1, nonzeroVerticalItemSpacing/HorizontalItemSpacing), grouped rendering is aligned across platforms: Windows stretches item containers so the first item in the first group no longer collapses vertically, and iOS/Mac Catalyst applies grouped header/footer boundary spacing andInterSectionSpacingso a visible gap appears between a group header and the first row of items. - iOS grouped
INotifyCollectionChanged.Removeupdates are handled safely by deferring internal section reconciliation until afterUICollectionView.DeleteSections. - Android no longer crashes (
ArgumentOutOfRangeException) when removing items from a grouped CollectionView (adds adapter null checks and validates positions before applyingSpacingItemDecorationoffsets). (PR #36561, PR #36758, PR #38482) - Behavior change: .NET MAUI
CollectionView/ItemsView “Items2/CollectionViewHandler2” implementation for Windows (includingMauiItemsViewtemplate/resources and related selection/reorder behavior) was removed, and Windows handler registration no longer conditionally enablesCollectionViewHandler2; docs that reference the Windows CollectionView2/Items2 handler (or related feature flags) should be revised to reflect the legacy Windows CollectionView behavior. (PR #38155) - .NET MAUI CarouselView / CollectionView handler fixes across platforms:
CarouselViewnow correctly enforcesIsSwipeEnabled(Android touch handling returnsfalsewhen disabled; iOS/Mac Catalyst re-applies swipe state to the embedded orthogonalUIScrollViewon layout/subview-add so swipe can’t “come back”), and bounce is applied consistently soIsBounceEnabledis honored independently ofIsSwipeEnabled(new iOS/Mac CatalystMauiCollectionView.SetBounceEnabledlogic). This introduced a public overrideMicrosoft.Maui.Controls.Handlers.Items.MauiCollectionView.LayoutSubviews()for iOS/Mac Catalyst handler extensibility.- iOS/Mac Catalyst
CarouselView.Positionchanges made while the handler is detached are preserved/restored on reattach (staying in sync withIndicatorView/boundPosition), with teardown guards for pending iOS 26 scroll-debounce callbacks; and a newly setCurrentItemafterItemsSourcereplacement while detached is honored (avoids restoring a stalePosition). - Android
CarouselViewItemsSourceReplace handling preservesCurrentItem/Position(especially when replacing the selected item);Loop="True"refreshes only visible virtual cells for the replaced index and adds edge-case handling for indexless/unequal-count Replace and teardown races. - Mac Catalyst-only: programmatic non-animated
ScrollTo/ScrollToItemno longer has its scroll position silently clamped/reset after window state changes (adds KVOcontentOffsetrestore), and introduces Mac Catalyst public overridesMauiCollectionView.Dispose(bool)andItemsViewDelegator2<TItemsView,TViewController>.DraggingStarted(UIScrollView)to clear pending restores on user drag. - iOS/Mac Catalyst Editor and CarouselView now correctly re-apply
IsEnabledchanges to the outer nativeUIViewby callingViewHandler.MapIsEnabled(fixes controls remaining non-interactive after togglingIsEnabledoff and back on). (PR #36428, PR #36287, PR #36681, PR #36243, PR #36431, PR #38480) - .NET MAUI
FlexLayout: - Now measures children using constraints clamped to the child’s available arranged size (accounting for margins and engine-provided cross-axis
w/hwhen fixed), fixing wrap/arrange mismatches where wrapped content (e.g.,LabelwithLineBreakMode=WordWrap) could have its last line cut off. - On Windows/WinUI, detaching/recycling in virtualized templates no longer crashes:
Layout(width,height)becomes a no-op when detached,CrossPlatformMeasure(...)returnsSize.Zero, andGetFlexFrame(IView)returnsRect.Zerowhen the view isn’t tracked. (PR #36416, PR #36946) - .NET MAUI
Button(iOS/Mac Catalyst): - Correctly refreshes
CharacterSpacingstyling whenButton.Textchanges (including withTextTransformand/orContentLayout) by reapplying attributed-title updates afterUpdateText. - Updating
Button.TextColorat runtime now updates the rendered text color even whenButton.CharacterSpacingis set (including resettingTextColortonull) by updating/removing theForegroundColorattribute in the attributed title. Button.ContentLayout(left/right image positioning with spacing) is now applied correctly under RTL (FlowDirection/EffectiveFlowDirectionRightToLeft), fixing overlap/excessive separation while preserving configured spacing and positioning.- Initial render path:
UpdateBackgroundno longer forcesUIButton.BackgroundColor = UIColor.Clearwhenpaintis null whileWindow == null, preserving nativeBackgroundColorset by customUIButtonsubclasses until the button is attached to a window (after attachment, null paint still resets to clear for VisualState transitions). (PR #36326, PR #36699, PR #38339, PR #38301) - .NET MAUI
Label.FormattedText/ spans: - iOS/Mac Catalyst span hit-testing aligns
SpanTapGestureRecognizerhitboxes with rendered text for fonts with an OpenType STAT table (iOS 16+ disablesNSLayoutManager.UsesFontLeadingfor span-rect calculation; hit-test layout prefers MAUI arrangefinalSizeover potentially-staleUILabel.Bounds). - iOS/Mac Catalyst formatted text now honors RTL flow direction (including inherited
FlowDirection="MatchParent"viaEffectiveFlowDirection), mapsTextAlignment.JustifytoUITextAlignment.Justified, and rebuilds formatted text whenFlowDirectionchanges. - Windows formatted text updates now clear
TextBlock.TextHighlighterswhen rebuilding inlines (prevents stale highlight/background ranges), and WindowsFormattedStringspan positioning no longer risks an infinite loop/UI hang (guards against zero/negative line height during measurement when formatted text is set after being hidden/collapsed). FormattedStringno longer leaks when the sameSpaninstance is shared/long-lived (weak per-occurrence subscriptions toSpan.PropertyChanging/PropertyChanged). (PR #36564, PR #36277, PR #36608, PR #36828, PR #36294)- .NET MAUI Border on Windows:
- Dashed borders now correctly apply
StrokeLineCapby setting nativePath.StrokeDashCapalong withStrokeStartLineCap/StrokeEndLineCap. - Placing a
SwipeViewdirectly inside aBorderno longer triggers a native crash; as a tradeoff, theBorderstroke/path still renders but theSwipeViewcontent will not be visually clipped to theBorder’s corner shape in this scenario. (PR #36442, PR #36714) - .NET MAUI background clearing fixes:
ImageandImageButtonon iOS/Mac Catalyst now mapBackground/BackgroundColorchanges so settingBackgroundtonullclears the native background layer and native background color (also handlesImageSourcePaintbackgrounds and re-appliesIView.Opacityafter container changes).DatePickerandTimePickeron iOS/Mac Catalyst now correctly clear a previously applied background whenBackgroundis set tonull/empty (explicitIDatePicker.Background/ITimePicker.Backgroundmapping).Imageon Windows (WinUI): changingImage.BackgroundColor / IImage.Backgroundvia data binding after navigating away (when the initial value wasnull) no longer crashes with aCOMException; background container creation is deferred until the native image isLoaded. (PR #36427, PR #36934, PR #36747)- .NET MAUI
Entrybehavior changes: - Windows:
Entry.Completedno longer fires when the user presses Enter to confirm a Chinese/Japanese IME candidate (now requires an actual Enter KeyDown + KeyUp sequence). - iOS/Mac Catalyst: built-in clear button (✕) renders at full opacity when
ClearButtonVisibilityis enabled andTextColoris set (tint matchesTextColorinstead of appearing dim). - iOS and Windows:
Keyboard="Password"no longer forces password masking;Entry.IsPasswordis respected (includingIsPassword=falseon initial load and when toggled at runtime). - Android accessibility:
SemanticProperties.Descriptionis now always surfaced as AndroidContentDescriptionforEntry/EditText(so Appium/UIAutomatorcontent-descis populated) while preserving the existing TalkBack-oriented synthesized accessibility text behavior. - Android:
Keyboard="Numeric"once again accepts the device/OS locale decimal separator. (PR #36577, PR #36472, PR #36677, PR #37276, PR #38483) - .NET MAUI
ContentPage.HideSoftInputOnTappedon Android/iOS no longer “sticks” globally across navigation: tap-to-dismiss keyboard is now enabled only for the currently focused view’s enclosingContentPage(instead of any previously visited page that hadHideSoftInputOnTapped="True"but never raisedNavigatedFrom, e.g., when aShellContentis hidden viaIsVisible=falseand you navigate with an absoluteShell.GoToAsync("///route")). (PR #36238) - .NET MAUI Shell search:
SearchHandler.ShowsResultsnow updates at runtime across Android, iOS/Mac Catalyst, and Windows (toggling immediately hides/shows results UI and keeps results data synchronized), and on WindowsSearchHandlerfont styling (FontSize,FontFamily,FontAttributes) is now applied and reacts to changes instead of being silently ignored. (PR #36215, PR #36700, PR #37393) - In .NET MAUI Shell on Android, the default flyout menu item
Label.TextColoris now applied directly to the label at the lowestSetterSpecificity(instead of via theDefault_FlyoutItemLabelStyleclass atStyleLocalspecificity), so developer-providedLabelstyling (implicitStyle TargetType="Label"and explicit/class styles) can override flyout item text color; default Material color still applies when no user style is set. (PR #36616, PR #37393) - .NET MAUI Shell on Windows:
ShellContent.Titlechanges now update the parentShellItemtitle at runtime, including whenShellContentis dynamically added/removed.- Calling
Shell.Items.Clear()and then navigating to a new root now disconnects handlers for pages in the removedShellSectionnavigation stack, preventing leaked native resources/handlers from remaining connected. (PR #35998, PR #36872) - .NET MAUI navigation/back handling:
Microsoft.Maui.Controls.Windownow treats any app/third-party override ofPage.OnBackButtonPressed()as requiring delivery of the back press (via new internalPage.HasBackButtonPressedOverridedetection), so custom pages/containers reliably receive the back-button event and the platform “back-to-home” animation is only used when the page is using framework back behavior. (PR #38301) - .NET MAUI WebView / BlazorWebView behavior changes across platforms:
- iOS/Mac Catalyst: loading
HtmlWebViewSourcenow usesWKWebView.LoadSimulatedRequeston iOS 15+ / Mac Catalyst 15+ so HTML loads create a back/forward history entry (GoBack()/GoForward()work after loading HTML); older OS versions still useLoadHtmlString(note: navigation events/WKWebView.Urlreflect only the base URL rather than the HTML contents). - Android: WebView settings
MinimumFontSizeandMinimumLogicalFontSizeare explicitly set to1, so CSSfont-sizevalues below 8px are no longer silently clamped up by the Android WebView default (affects MAUI WebView and BlazorWebView). - Windows (WebView2): local
https://appdir/virtual-host mapping is tightened (must be absolutehttps, no userinfo, host exactlyappdir) and mapping access changes toDenyCors, which blocks cross-originfetch/XHR tohttps://appdir/...fromLoadHtml/NavigateToString(null-origin) content; navigation to non-appdirhosts more reliably clears the mapping. - Android (BlazorWebView): Blazor startup script initialization is idempotent (
window.__BlazorStarting), captures the nativeWebMessagePortbefore callingBlazor.start(), changes dispatch so only nativePostWebMessagemessages are processed (event.source === null), and adds a debug eventBlazorStartupScriptsSubmitted. - Android (BlazorWebView): when
UrlLoadingStrategy.OpenExternallyis used,intent://andandroid-app://URIs are converted to a browsable implicitIntent(addsCATEGORY_BROWSABLE, clears explicit component/selector, and masks flags) beforeStartActivity. - Tizen (BlazorWebView):
TizenMauiAssetFileProvidernow usesFileSystemUtils.Combineand returnsNotFoundDirectoryContents/NotFoundFileInfowhen the combined path can’t be safely resolved (invalid/unsafe asset paths are treated as “not found”). (PR #33183, PR #36559, PR #36603, PR #35053, PR #38126, PR #37972, PR #37393) - Breaking: .NET MAUI HybridWebView JavaScript ↔ .NET messaging now validates the message origin on Windows (WebView2) and iOS (WKWebView); web messages are ignored (with a debug log) unless the message
Source/frame URL is an absolute URI under the handler’sAppOriginUri. HybridWebView is also gated by$(MauiHybridWebViewSupported)/Microsoft.Maui.RuntimeFeature.IsHybridWebViewSupported(handlers/task manager are only registered when supported), and JS-to-.NET invocation remains the dynamic/reflection-based path viaSetInvokeJavaScriptTarget<T>(T target)(annotated as trimming/dynamic-code unsafe), with updated error payload behavior on invoke failures. (PR #38126, PR #38155) - Breaking: .NET MAUI
ScrollViewon iOS/Mac Catalyst now uses content-coordinate scroll offsets consistently (ScrollX/ScrollYandScrolledEventArgsuse(0,0)as “content top-left aligned to visible viewport top-left”, not rawUIScrollView.ContentOffset),ScrollToAsync(...)is translated/clamped usingAdjustedContentInset, inset-only changes refresh offsets without raisingScrolled, and Shell flyout scrolling (FlyoutHeaderBehavior.Scrollover aScrollView) reads nativeUIScrollView.ContentOffsetfor header calculations to avoid incorrect positioning under the new convention. Additionally, element-basedScrollToAsyncrequests are now parked until the target is arranged (and dropped if they can never be satisfied), iOS safe-area compensation logic is normalized viaUIKitCompensatesForSafeArea/SafeAreaBakedIntoContent, and the iOS/Mac handler now preserves/clampsUIScrollView.ContentOffsetwhen theScrollViewis resized by its parent layout via a newScrollViewHandler.PlatformArrange(Rect)override. (PR #37060, PR #37837, PR #38602, PR #37393) - .NET MAUI XAML C# expressions (XamlCSharpExpressions): expressions now support resolving type references via XAML
xmlnsprefixes (e.g.,{ios:Page.GetUseSafeArea(this)}), and support attached bindable property reads usingtarget.(Type.Property)syntax (including prefixed types likethis.(ios:Page.UseSafeArea)), rewritten toType.GetProperty(target); standalone(Type.Property)remains rejected/reserved, and ABP access is currently one-way only (no generated setter/change-notification support yet). The generator also tightens validation and diagnostics for expressions/bindings: - validates identifiers in interpolated-string bindings and reports MAUIX2009 (MemberNotFound) for missing members (including avoiding false “member not found” when the expression starts with a static type reference),
- reports MAUIX2017 for lambda method-group references (e.g.,
Clicked="{(s,e) => this.OnCounterClicked}"missing()), - reports MAUIX2015/MAUIX2016 for
x:Codeplacement/requirements, - supports TwoWay setter generation for property paths that include struct intermediates via copy–modify–writeback, and warns with MAUIX2018 when a struct intermediate has no public setter (binding becomes effectively one-way). (PR #35093, PR #35006, PR #36787, PR #37393)
- Breaking/behavior-only: .NET MAUI XAML build/runtime tooling changes:
- XAML loading (XamlLoader / LoadFromXaml) now conditionally supports implicit xmlns injection—implicit default namespace + gathered prefixes are only applied when the app assembly opts in via
Microsoft.Maui.Controls.Xaml.Internals.AllowImplicitXmlnsDeclarationAttribute; otherwise parsing switches toXmlReaderDocument conformance and does not auto-add implicit xmlns mappings. OnPlatformExtensionno longer supports publicly settableGTK,macOS, andWPFnamed arguments.XamlCompilationAttribute/XamlCompilationOptionsis now a compile-time error unless_MAUIXAML_SOURCEGEN_BACKCOMPATis enabled; guidance moves to MSBuildMauiXamlitem metadata (e.g.,<MauiXaml Update="..." Inflator="XamlC" />).- XAML source generation removed the incremental XAML Hot Reload diagnostics/events surface, and compiled binding generation now reports missing bound properties as warnings and falls back to runtime reflection.
- XAML inflator defaults are configuration-based again (Debug defaults to
Runtime, non-Debug defaults toXamlC), withMauiXamlitemInflator="Default"support; templates now set<MauiXamlInflator>SourceGen</MauiXamlInflator>by default with per-file override guidance. (PR #38155) - .NET MAUI Resizetizer and related build tooling:
- Resizetizer MSBuild pipeline for
MauiFontandMauiSplashScreennow reliably produces packaged outputs on first build and during incremental builds: font item registration moved into an always-run_CollectMauiFontItemstarget; incremental tracking switched from stamp files to output manifestsmauifont.outputs/mauisplash.outputswith pre-check readers;MauiInfo.plist(UIAppFonts) generation is de-duplicated and removed when the lastMauiFontis deleted. - Breaking: documented Resizetizer resource metadata/features were simplified/removed (e.g., Android adaptive icon monochrome layer no longer supported; splash generation no longer emits dark-mode variants / iOS themed splash asset-catalog outputs; metadata such as
DarkFile,DarkColor,DarkTintColor,ResizeQualityremoved; “external backend” opt-in/extension workflow viaResizetizerPlatformTypeandResizetizerAfter*ProcessingTargetsremoved). - Graphics/Resizetizer dependency set updates: SkiaSharp updated to SkiaSharp 4.150.1 (with corresponding
Microsoft.Maui.Graphics.Skia/Resizetizer updates for SkiaSharp 4.x API removals), and SVG/tooling dependencies updated to Svg.Skia 5.1.1 (+Svg.SceneGraph,Svg.Animation) andExCSS 4.3.1. (PR #33919, PR #38155, PR #38301, PR #37393) - .NET MAUI SwipeView behavior updates:
SwipeItem.BackgroundColorvalues driven byAppThemeBindingnow correctly refresh on light/dark theme changes (mapper key corrected soUpdateValuereachesMapBackground; iOS/Windows also re-updateITextStyle.TextColorwhen background changes).- Android accessibility: revealed
SwipeItem/SwipeItemViewcommands can now be invoked via TalkBack (ACTION_CLICKexecutes the corresponding command and honorsSwipeBehaviorOnInvoked, e.g., auto-closing unlessRemainOpen). - Android swipe item measurement now uses width
Exactlyfor default swipe items (to keep text visible) but heightAtMostfor all items (allow vertical self-sizing and centered icon+text), changing swipe action button sizing/layout vs the prior “width+height bothExactlyfor default items” behavior. (PR #36271, PR #37143, PR #38301) - .NET MAUI
Switchhandler/platform mapping now correctly restores the native/default thumb appearance whenSwitch.ThumbColoris set back tonull(iOS clearsUISwitch.ThumbTintColor; Android rebuilds/reapplies a theme-derivedSwitchCompat.ThumbTintListincluding disabled-state color; Windows removes overriddenToggleSwitchKnobFill*resources and refreshes theme resources). (PR #36750) - .NET MAUI RadioButton on Android now correctly clears its rendered border when border-related properties are reset to defaults at runtime (
StrokeColor=null,StrokeThickness=0, orCornerRadius=0), withStrokeThickness/CornerRadiusclamped to>= 0in platform mapping. (PR #37146) - .NET MAUI Essentials:
- Android
Permissions.RequestAsync<T>()now validatesMainThread.IsMainThreadbefore registering a pending permission request, preventing stale pending entries from poisoning later valid main-thread requests. - Android
Screenshot.Default.CaptureAsync()no longer risks deadlocking when called synchronously from the UI thread (PixelCopy callback dispatched on a dedicated backgroundHandlerThreadand internal awaits useConfigureAwait(false); failure off main thread returnsnullinstead of attempting off-thread fallbacks). (PR #37056, PR #37680) - .NET MAUI Essentials MediaPicker / Android activity-result infrastructure:
- Android Photo Picker path now requires the current activity to be a
ComponentActivity(e.g.,MauiAppCompatActivity) and to callMicrosoft.Maui.ApplicationModel.Platform.Init(Activity, Bundle)inOnCreate; otherwiseMediaPickerthrows anInvalidOperationExceptionwith this guidance. - Android activity-result requests are now registered/tracked per
ComponentActivityinstance, persisted across recreation via saved instance state, and pending requests are canceled when the owning task/activity is destroyed (observable change for multi-activity apps). - iOS: picking multiple (2+) items no longer throws
UIKitThreadAccessException(ensuresPHPickerResult.ItemProvideris accessed on the main thread before anyawait). (PR #38301, PR #38481) - .NET MAUI (Windows/WinUI) stability/layout updates:
- Layouts/panels with
InputTransparent="True"and a non-nullBackgroundno longer lose their visible background (panel remains non-hit-testable while children still receive input). ModalNavigationManagersuppresses the title bar reservation when pushing modals in full-screen or whenWindow.TitleBar.IsVisible=false(fixes ~32px top “gap”/unclickable region) and listens forAppWindow.Presenterchanges while a modal is displayed to dynamically update title bar visibility.BorderHandlerandContentViewHandlernow detach the platform view from any existing WinUI parent before reparenting, avoiding COM exceptions when rehosting views.- Handler mapper invocations guarded by
CanInvokeMappers()are skipped afterMauiContext.DisposeWindowScope()to prevent shutdown-timeObjectDisposedException(e.g., focus changes triggering style setters after window-scoped services are disposed). (PR #30311, PR #36209, PR #38301, PR #34354) - .NET MAUI iOS keyboard “Done” accessory behavior is version-split: on iOS 26+ it’s a pass-through container with a trailing floating glass close button (only the 44×44 button is hittable; transparent area passes through), while iOS < 26 keeps the full-width translucent
UIToolbarDone accessory; iOS 26+ also positions the Liquid Glass close button 4 points higher, and anAppContextswitchMicrosoft.Maui.Platform.iOS.UseLegacyDoneAccessory(default-off) can force legacy toolbar behavior on iOS 26+ (must be set before creating MAUI controls). (PR #36413, PR #36756, PR #36776, PR #37393) - Breaking: on .NET MAUI iOS/Mac Catalyst lifecycle events, quick actions (
iOSLifecycle.PerformActionForShortcutItem/UIApplicationShortcutItem) are now dispatched through bothMauiUIApplicationDelegateand the scene lifecycle (MauiUISceneDelegate, including new public APIMauiUISceneDelegate.PerformAction(UIWindowScene, UIApplicationShortcutItem, Action<bool>)); each registered handler receives its own completion callback and must invoke it exactly once (trueif handled,falseotherwise). Also on iOS/Mac Catalyst, Essentials now forwards scene-based URL/user-activity deliveries (iOSLifecycle.SceneOpenUrl/SceneContinueUserActivity) intoWebAuthenticator.Default, and Essentials AppActions completion reportstrueonly whenAppActionActivatedhas subscribers (and invokes completion withfalsebefore rethrowing if the handler throws). (PR #38664) - Breaking: .NET MAUI app templates now generate iOS and Mac Catalyst app heads using UIKit’s scene-based lifecycle by default (adds
UIApplicationSceneManifesttoInfo.plist, includes aSceneDelegatederiving fromMauiUISceneDelegate, and setsUIApplicationSupportsMultipleScenes=false), and templates now set Mac CatalystSupportedOSPlatformVersionto17.0(macOS 14). (PR #38664) - The .NET MAUI mobile project template (
maui-mobile) updates generated pages for Android TalkBack accessibility by moving picker accessibility text from the non-interactive SyncfusionSfTextInputLayoutwrapper to the interactive.NET MAUI Pickerand switching toSemanticProperties.Hinton thePickerso TalkBack swipe navigation can reach/activate pickers and continue through content in logical order. (PR #38416) - .NET MAUI
Picker(Android): restored native horizontal drag scrolling for long selected values while keepingEditTextread-only and preventing drag from triggering taps/long-presses; implemented via a new Android-specificoverride Microsoft.Maui.Platform.MauiPickerBase.OnTouchEvent(MotionEvent? e)(listed inPublicAPI.Unshipped.txt), which can affect customization/subclassing guidance (callbase.OnTouchEventif overriding). (PR #37232) - .NET MAUI XAML diagnostics:
Microsoft.Maui.Controls.Xaml.Diagnostics.BindingDiagnostics.BindingFailedis now backed byWeakEventManagerinstead of a normal multicast event, so subscribing pages/view-models are no longer kept alive if they forget to unsubscribe, but handlers/targets that are otherwise unreferenced can be garbage-collected and will stop receivingBindingFailedcallbacks unless you keep a strong reference. (PR #37645) - .NET MAUI
Microsoft.Maui.Controls.Resourcesbehavior change:Application.Resourcespropagation now enumerates resource key/value pairs instead of keys-only, which may cause some resource values (including previously “lazy” resources) to be realized during propagation. (PR #38155) - .NET MAUI build/trimming:
Microsoft.Maui.Controls(Controls.Core.csproj) is now markedIsTrimmable=false, changing expectations for trimming/AOT scenarios and requiring updates to trimming/AOT guidance for apps using Controls. (PR #38155) - .NET MAUI BindingSourceGen now generates shorter, stable hashed Roslyn hint names (and therefore shorter on-disk filenames when
EmitCompilerGeneratedFilesis enabled), replacing the prior behavior that embedded the full source file path in the hint name; emitted generated.g.csfilenames now followBindingSourceGen-<stableHash>-<line>-<column>.g.cs. (PR #35986) - The .NET MAUI official release workflow is now documented around
eng/pipelines/ci-official-release.ymlas the canonical release pipeline (replacing removed internal scripts), and it now also supports non-workload NuGet.org releases from an allowlisted GitHub repository using the existingghOwner/ghRepo+commitHashinputs, with non-workload validation/auditing and stricter recovery semantics. (PR #36568, PR #37658) - The “maui-aspire-servicedefaults” (
MauiAspire.ServiceDefaults.CSharp.8.0)dotnet newtemplate updates its customer-visible template metadata/guidance to reflect current Aspire branding and updates outbound links (Service Defaults docs and third-party notices). (PR #37850)
Suggestions
Instructions for Copilot: Copilot should only fix suggestions with a checkmark and do not make any updates for unchecked suggestions.
Note
Suggestions are generated by AI and they should be reviewed by human before assigning it to Copilot. Please uncheck the ones you don't want Copilot to work on. Then assign this issue to Agent (GitHub Copilot).
- docs/whats-new/dotnet-11.md:
- [Correction Required] Update the “Windows CollectionView2 handler” section to remove/replace the claim that Windows uses the CollectionView2 handler by default and the guidance to set
UseWindowsCollectionView2Handlertofalseto temporarily use the previous handler. Revise the section to reflect that the Windows CollectionView2/Items2 handler is no longer used/available and that Windows uses the legacy CollectionView behavior (and any referenced feature switch is no longer applicable). (PR #38155)
- [Correction Required] Update the “Windows CollectionView2 handler” section to remove/replace the claim that Windows uses the CollectionView2 handler by default and the guidance to set
- docs/user-interface/controls/collectionview/index.md:
- [Correction Required] Update the "Windows CollectionView handler in .NET 11" section to remove/replace claims that Windows uses
Microsoft.Maui.Controls.Handlers.Items2.CollectionViewHandler2by default and that it is controlled byMicrosoft.Maui.RuntimeFeature.IsWindowsCollectionView2HandlerEnabled/UseWindowsCollectionView2Handler. As written, users will follow the guidance and attempt to configure a handler/switch that no longer exists or has no effect, leading to broken customization/migration steps and an incorrect understanding of Windows CollectionView behavior. (PR #38155)
- [Correction Required] Update the "Windows CollectionView handler in .NET 11" section to remove/replace claims that Windows uses
- docs/user-interface/controls/shapes/index.md:
- [Improvements] Update the “Control line ends” section (including the Important note that says StrokeLineCap has no effect on Ellipse/Rectangle) and the “Draw dashed shapes” section to reflect that while StrokeLineCap doesn’t affect the overall start/end of closed shapes, it does affect the end caps of individual dashes when a dashed stroke is used (StrokeDashArray/StrokeDashOffset). This prevents users from being misled into thinking StrokeLineCap can’t change dashed borders on closed shapes.
- docs/user-interface/controls/hybridwebview.md:
- [Improvements] Add an explicit platform behavior note to the JavaScript-to-.NET communication guidance (at minimum in the introduction that describes JS↔.NET communication, and in the 'Invoke C# from JavaScript' section) explaining that on Windows (WebView2) and iOS (WKWebView) incoming web messages are validated and ignored unless the message Source/frame URL is an absolute URI under the handler’s AppOriginUri. This must clarify that messages from iframes or navigations to other origins won’t reach .NET on those platforms unless they are within AppOriginUri, because otherwise users will experience broken JS-to-.NET messaging when hosting multi-origin content. (PR #38126, PR #38155)
- docs/fundamentals/data-binding/compiled-bindings.md:
- [Improvements] Update the "Compiled bindings in XAML" explanation of generated code for OneWay/TwoWay to explicitly call out how TwoWay setter generation behaves when the binding path includes struct intermediate properties (copy–modify–writeback), and that TwoWay requires write-back capability through the full path (for struct intermediates, a public setter is required on the intermediate property), otherwise the binding cannot propagate changes back as TwoWay. (PR #35093, PR #35006, PR #36787, PR #37393)
- [Improvements] Update the "XAML compiled bindings warnings" section (table/list of warning codes) to include MAUIX2018 and describe what it means (struct intermediate in a TwoWay binding path has no public setter so the binding is effectively one-way) and what must change to resolve it (make the intermediate settable / adjust the model type / change binding mode as appropriate). This is required so users encountering MAUIX2018 can resolve builds/workflows that treat warnings as errors and understand why their TwoWay binding doesn’t update the source. (PR #35093, PR #35006, PR #36787, PR #37393)
- docs/whats-new/dotnet-10.md:
- [Improvements] In the “XAML” > “Implicit and Global XML namespaces” section (including the “Implicit default namespace (opt-in)” row and the “.NET 10 Preview 5 plus opt-in” example), update the description of how implicit xmlns injection works so it no longer reads as unconditional once enabled, and instead reflects that implicit injection is conditional on the app assembly opting in via Microsoft.Maui.Controls.Xaml.Internals.AllowImplicitXmlnsDeclarationAttribute; otherwise implicit xmlns mappings are not auto-added.
- [Improvements] In the “How to adopt” steps for implicit default namespaces, add the required opt-in mechanism for the app assembly (AllowImplicitXmlnsDeclarationAttribute), or explicitly state that the shown project settings/defines must result in that attribute being applied; otherwise users who remove root xmlns/xmlns:x (as shown) can hit XAML parsing/load failures (notably when using XamlLoader / LoadFromXaml).
- docs/xaml/fundamentals/get-started.md:
- [Correction Required] Update the statements and guidance about “Implicit namespace declarations” to reflect that implicit xmlns injection during XAML loading (XamlLoader/LoadFromXaml) is conditional and requires assembly opt-in via Microsoft.Maui.Controls.Xaml.Internals.AllowImplicitXmlnsDeclarationAttribute; otherwise users must keep explicit xmlns declarations. Affected areas include: (1) the note in “Anatomy of a XAML file” that says the two standard xmlns declarations are implicit and can be omitted, (2) the “Implicit namespace declarations” section that claims “no opt-in is required”, and (3) the project-file opt-in snippet for the “most streamlined experience”, which is currently incomplete/misleading for runtime loading and can lead to broken XAML parsing when xmlns declarations are omitted.
- docs/xaml/runtime-load.md:
- [Correction Required] In the "Load XAML at runtime" section, update the simple usage example that uses
string navigationButtonXAML = "<Button Text=\"Navigate\" />";so it no longer depends on implicit xmlns injection (for example, by including the required MAUI xmlns declarations in the XAML string), because it will fail by default unless the app opts in to implicit xmlns injection. - [Improvements] In the "Load XAML at runtime" section (near the first examples/usage guidance), add the required condition for implicit xmlns behavior: explain that omitting xmlns declarations only works when the app assembly opts in via
Microsoft.Maui.Controls.Xaml.Internals.AllowImplicitXmlnsDeclarationAttribute; otherwise runtime-loaded XAML must include explicit xmlns mappings (including the default MAUI namespace and any needed prefixes) to parse successfully.
- [Correction Required] In the "Load XAML at runtime" section, update the simple usage example that uses
- docs/xaml/xamlc.md:
- [Correction Required] Update the “XAML Compilation” section to remove/replace the statement that XAML compilation behavior can be overridden with
XamlCompilationAttribute(and any implication that the attribute is a supported override mechanism by default). Replace this guidance with the supported MSBuild configuration approach (for example, usingMauiXamlitem metadata such asInflator="XamlC" | "Runtime" | "SourceGen", and/or project-levelMauiXamlInflator). This prevents users from following the page and encountering a compile-time error. - [Improvements] In sections that discuss enabling/disabling compilation per file (including “Enable Source Generation, and per file settings”), ensure the doc consistently directs users to MSBuild
MauiXamlitem metadata for per-file control, and does not suggest[XamlCompilation]as a viable alternative for non-sourcegen scenarios. Without this change, users may still attempt to use the attribute for per-file overrides and fail to build. - [Improvements] Where the page mentions
[XamlCompilation](for example, “We no longer recommend using[XamlCompilation]attribute…”), add the required condition that the attribute now produces a compile-time error unless_MAUIXAML_SOURCEGEN_BACKCOMPATis enabled, so users understand why attribute-based configuration no longer works by default and what (if anything) would be required to keep legacy projects compiling.
- [Correction Required] Update the “XAML Compilation” section to remove/replace the statement that XAML compilation behavior can be overridden with
- docs/fundamentals/data-binding/compiled-bindings.md:
- [Correction Required] Update the claims that invalid compiled binding expressions are reported as build errors to reflect the new behavior where missing bound properties are reported as warnings and the binding falls back to runtime reflection. Affected areas include the introductory section (problem statement Enable PDF Generation & PR Preview #1 / compile-time validation) and the "Compiled bindings in XAML" explanation paragraph that currently says invalid binding expressions are reported as build errors (and discusses only the first invalid binding causing a build error).
- [Correction Required] In the "Use compiled bindings in XAML" example narrative, replace the statement that changing a binding to a non-existent viewmodel property "will result in a build error" with the correct outcome (a warning and a fallback to runtime/reflection-based binding), so users aren’t led to expect the build to fail as a validation mechanism.
- [Improvements] Adjust the guidance around compiled bindings being required for NativeAOT/full trimming (the "Important" callout near the top) to avoid implying that missing binding paths will necessarily be stopped by build errors. It must indicate that missing bound properties can compile with warnings and fall back to reflection-based binding resolution, which can invalidate the expectation that compiled bindings fully protect against runtime binding issues in trimmed/NativeAOT apps.
- docs/xaml/fundamentals/get-started.md:
- [Correction Required] In the “XAML Source Generation” section’s per-file opt-out guidance (the paragraph that says: “If you want to opt-out… unset (or set to "") the
Inflator…”), correct it to use the now-supported per-fileInflator="Default"approach (and/or equivalent explicit defaulting guidance) to return a file/pattern to the configuration-based defaults. As written, users on templates where the project default isSourceGencannot reliably opt out specific files by unsetting/emptyingInflator, leading to incorrect behavior relative to the documented goal. (PR #38155) - [Improvements] In the “XAML Source Generation” section (including the “Important” callout and the project-file enablement instructions), update the description that the feature is “opt-in” so it reflects that recent templates set
<MauiXamlInflator>SourceGen</MauiXamlInflator>by default. Otherwise, a reasonable user starting from a new template will be misled about what their project is already using by default. (PR #38155) - [Improvements] Where the article describes the ‘correct defaults’ for inflation (currently phrased as “runtime inflation on Debug, XamlC on Release”), adjust it in the “XAML Source Generation” section to match the restored rule “Debug = Runtime, non-Debug = XamlC”. Otherwise, users using non-Release configurations (for example, custom non-Debug configs) may form an incorrect understanding of which inflator will be used. (PR #38155)
- [Correction Required] In the “XAML Source Generation” section’s per-file opt-out guidance (the paragraph that says: “If you want to opt-out… unset (or set to "") the
- docs/xaml/xamlc.md:
- [Correction Required] Update the description of “default inflation” in the introduction and the “XAML Source Generation” / “Enable Source Generation, and per file settings” sections to reflect that, while configuration-based defaults remain (Debug =>
Runtime, non-Debug/Release =>XamlC) when usingDefault, current templates set<MauiXamlInflator>SourceGen</MauiXamlInflator>so new projects will use SourceGen unless the project or file inflator is explicitly set back toDefault/other. Remove/adjust the statement implying SourceGen will only become the default for new projects in the future, since it is already the template default now. (PR #38155)
- [Correction Required] Update the description of “default inflation” in the introduction and the “XAML Source Generation” / “Enable Source Generation, and per file settings” sections to reflect that, while configuration-based defaults remain (Debug =>
- docs/xaml/runtime-load.md:
- [Improvements] Update the introductory explanation and generated InitializeComponent example (the paragraphs that state LoadFromXaml is indirectly called and show the generated method) to make it conditional on the selected XAML inflator (Runtime/XamlC vs SourceGen), since templates now default to SourceGen and may not call LoadFromXaml. Also update the project/per-file configuration guidance (the MauiXamlInflator and MauiXaml Update examples and the opt-out paragraph describing defaults) to reflect that configuration-based defaults are used again and that per-file return-to-default behavior should use the supported Inflator="Default" approach rather than relying on setting Inflator to an empty string. (PR #38155)
- docs/whats-new/dotnet-11.md:
- [Correction Required] Update the following sections to remove or replace claims and examples that rely on removed Resizetizer features/metadata so they no longer instruct users to use unsupported item metadata or expect outputs that are no longer generated: (1) "MonochromeFile for Android adaptive icons" (MonochromeFile / monochrome layer support), (2) "Themed splash screens" (DarkFile, DarkColor, DarkTintColor and statements about dark-mode variant generation and iOS/asset-catalog themed outputs), and (3) "Image resize quality" (ResizeQuality metadata and any statements about controlling resampling via this metadata).
- docs/platform-integration/device-media/screenshot.md:
- [Correction Required] Update the code example in the "Capture a screenshot" section to handle a possible null return from Screenshot.Default.CaptureAsync() (for example, by checking the returned IScreenshotResult for null before calling OpenReadAsync()), otherwise the sample can fail at runtime when CaptureAsync() returns null off the UI thread. (PR #37056, PR #37680)
- [Improvements] In the "Capture a screenshot" section, refine the description of CaptureAsync() to reflect that the call must be made on the main (UI) thread on Android and that, if invoked off the UI thread / capture fails, the result may be null (rather than always producing an IScreenshotResult). This prevents users from forming an incorrect understanding that CaptureAsync() always succeeds from any thread and always returns a non-null result. (PR #37056, PR #37680)
- docs/migration/native-essentials.md:
- [Correction Required] Update the Android guidance and code in the Initialize the platform section so the sample Activity derives from a ComponentActivity (for example, MauiAppCompatActivity / AndroidX Activity base) rather than
Android.App.Activity, because MediaPicker’s Android Photo Picker path now requires a ComponentActivity and otherwise fails at runtime with InvalidOperationException. - [Improvements] In Initialize the platform (and any other Android sections that describe initialization requirements, such as Perform additional setup where it discusses Activity lifecycle overrides), refine the initialization requirement to state that for MediaPicker/Photo Picker scenarios you must call
Microsoft.Maui.ApplicationModel.Platform.Init(Activity, Bundle)fromOnCreateof the launched Activity, and not rely on only thePlatform.Init(Application)overload, to avoid MediaPicker failing due to missing current Activity initialization.
- [Correction Required] Update the Android guidance and code in the Initialize the platform section so the sample Activity derives from a ComponentActivity (for example, MauiAppCompatActivity / AndroidX Activity base) rather than
- docs/platform-integration/device-media/picker.md:
- [Improvements] Update the Android guidance in Get started (Android platform-specific setup) to include the requirement that the hosting/current activity for media picking must be a
ComponentActivity(for example,MauiAppCompatActivity) and must callMicrosoft.Maui.ApplicationModel.Platform.Init(Activity, Bundle)inOnCreate; otherwiseMediaPickercan fail withInvalidOperationExceptionwhen using the Android Photo Picker.
- [Improvements] Update the Android guidance in Get started (Android platform-specific setup) to include the requirement that the hosting/current activity for media picking must be a
- docs/supported-platforms.md:
- [Correction Required] Update all macOS minimum-version statements for Mac Catalyst to align with the template’s Mac Catalyst
SupportedOSPlatformVersionbeing 17.0 (macOS 14). This affects the macOS bullet under “.NET MAUI apps can be written for the following platforms” and every macOS bullet under the repeated “.NET MAUI Blazor apps have the following additional platform requirements” sections. Without this correction, users will reasonably expect macOS 11/12 support and then hit an unavoidable deployment/targeting mismatch when using the default template output. (PR #38664)
- [Correction Required] Update all macOS minimum-version statements for Mac Catalyst to align with the template’s Mac Catalyst
- docs/platform-integration/native-embedding.md:
- [Correction Required] In the “Enable .NET MAUI support” section (the Mac Catalyst-specific PropertyGroup examples that currently state a minimum of 14.0/14.2 and separately 15.0), update the documented minimum SupportedOSPlatformVersion requirement to 17.0 for Mac Catalyst and remove/replace the conflicting older minimum examples so users don’t set an OS version that causes build/targeting failures with current .NET MAUI templates. (PR #38664)
- docs/fundamentals/app-lifecycle.md:
- [Improvements] Update the iOS-related lifecycle guidance to reflect the default scene-based lifecycle in new templates. Specifically, revise the "Cross-platform lifecycle events" platform mapping table (iOS column) and the "iOS and Mac Catalyst" section (including the sample that uses AddiOS().OnActivated/OnResignActivation/DidEnterBackground/WillTerminate) to clarify that new template-based apps use UIScene/SceneDelegate lifecycle, and that users should use the Scene* lifecycle delegates (for example, SceneOnActivated/SceneOnResignActivation/SceneDidEnterBackground/SceneWillEnterForeground/SceneWillConnect) when targeting the default scene-based app head; otherwise, handlers wired to application-level callbacks may not be invoked. (PR #38664)
- docs/deployment/trimming.md:
- [Improvements] Update the "Trimming behavior" and "Trimming defaults" sections to explicitly reflect that Microsoft.Maui.Controls is not marked trimmable (IsTrimmable=false) and therefore will not be trimmed under partial trimming. This must adjust user expectations about what partial trimming affects in typical .NET MAUI apps that use Controls, avoiding the misunderstanding that Controls code will be trimmed by default. (PR #38155)
- [Improvements] Update the "Trimming incompatibilities" and "Trimming feature switches" sections to clarify the practical impact of Microsoft.Maui.Controls being non-trimmable on full trimming and Native AOT scenarios (for example, that apps using Controls cannot assume the listed switches/incompatibility list is sufficient to make Controls-based apps trim/AOT safe). Without this, users can follow the article to enable full trimming/Native AOT and still end up with an app that fails at runtime or behaves incorrectly due to Controls not being trim-compatible. (PR #38155)
- docs/ios/linking.md:
- [Improvements] Update the “Linker behavior” section (especially the “Link SDK assemblies only” and “Link all assemblies” descriptions) to clarify that in current .NET MAUI versions Microsoft.Maui.Controls is not marked trimmable, so expectations that all SDK/Controls assemblies will be safely trimmed (and that aggressive linking will "just work") are not valid for Controls-based apps; this can otherwise lead users to enable an unsupported/aggressively-trimmed configuration and hit runtime failures. (PR #38155)
- [Improvements] Add a required note in the trimming preservation guidance (“Preserve assemblies” / “Preserve assemblies, types, and members”) explaining that for Controls-based apps, Microsoft.Maui.Controls may need to be treated as non-trim-safe (for example, rooted/preserved) when enabling trimming/linking, otherwise users can encounter unavoidable missing-member issues at runtime despite following the page’s general trimming guidance. (PR #38155)
- [Improvements] In “Mark an assembly as trim safe” (and the Native AOT paragraph in that section), refine the guidance to avoid implying that trimming/AOT compatibility can be achieved solely by marking user libraries as trimmable: explicitly call out that MAUI Controls itself is not marked trimmable, which affects whether Native AOT / aggressive trimming scenarios are supported/viable for apps using Controls, preventing users from following the doc into a broken AOT/trimming workflow. (PR #38155)
- docs/mac-catalyst/linking.md:
- [Improvements] Update the Linker behavior section (especially the descriptions of Link SDK assemblies only and Link all assemblies) to explicitly reflect that
Microsoft.Maui.Controlsis not marked trimmable (IsTrimmable=false), and therefore aggressive trimming/linking expectations differ for Controls-based apps (for example, users should not assume full trimming/linking is compatible without additional preservation/validation). This is required to prevent users from following the article to enable more aggressive linking and then encountering unavoidable trim-related breakage or misleading expectations for Controls apps. (PR #38155)
- [Improvements] Update the Linker behavior section (especially the descriptions of Link SDK assemblies only and Link all assemblies) to explicitly reflect that
- docs/android/linking.md:
- [Correction Required] Update the "Linker behavior" section to reflect that not all .NET MAUI/SDK assemblies will be trimmed when trimming is enabled, and explicitly call out that Microsoft.Maui.Controls is now non-trimmable (IsTrimmable=false) so it will not have unused members removed by the trimmer. This is necessary to prevent users from forming incorrect expectations about trimming effectiveness and trimming/AOT behavior for typical MAUI apps that use Controls. (PR #38155)
- docs/deployment/runtimes-compilation.md:
- [Correction Required] Update the Trimming section to clarify that Release
TrimMode=partialonly trims assemblies that are marked trimmable, and thatMicrosoft.Maui.Controlsis not trimmable (IsTrimmable=false) and therefore will not be trimmed even when trimming is enabled. This prevents users from being misled into expecting default trimming to reduce that framework component. (PR #38155) - [Improvements] Refine the NativeAOT (Native Ahead-of-Time) compilation description and the Comparison tables where they state/imply that NativeAOT performs full trimming and that "all code must be trim-safe" / produces smaller sizes, to account for the fact that
Microsoft.Maui.Controlsis now non-trimmable and may be excluded from trimming. Without this, users targeting NativeAOT or full trimming for MAUI UI apps can be misled about trimming behavior and size expectations. (PR #38155)
- [Correction Required] Update the Trimming section to clarify that Release
📚 To learn more about agentic content maintenance workflow, visit Agentic workflow for Learn content maintenance. Sign in using Learn Profile to access the content on this link.
💬 Share your feedback on the Learn Content Maintenance Agentic Workflow here.
Activity
learn-build-service-prod commentedon Oct 5, 2026
The source content behind this signal has been updated, so this issue has been superseded by #3559 and is being closed automatically. No pull request was linked to it.