Skip to content

chore: Update to .NET 11 Preview 6 - #23776

Merged
jonpryor merged 4 commits into
feature/breakingchangesfrom
dev/jonpryor/jonp-try-net11-p6
Aug 1, 2026
Merged

jonpryor merged 4 commits into
feature/breakingchangesfrom
dev/jonpryor/jonp-try-net11-p6

Conversation

@jonpryor

Copy link
Copy Markdown
Contributor

Context: #22745
Context: unoplatform/uno.check#540

Update version numbers accordingly.

dotnet/macios on .NET 11 Preview 6 requires Xcode 26.6!

TODO: we'll need to bump $(GlobalUnoCheckVersion) once we have a new uno-check, once unoplatform/uno.check#540 is merged.

PR Type:

✨ Feature
🏗️ Build or CI related changes

What changed? 🚀

PR Checklist ✅

@jonpryor
jonpryor marked this pull request as draft July 15, 2026 12:57
@github-actions github-actions Bot added area/code-generation Categorizes an issue or PR as relevant to code generation area/build Categorizes an issue or PR as relevant to build infrastructure labels Jul 15, 2026
@unodevops

Copy link
Copy Markdown
Contributor

⚠️⚠️ The build 222474 has failed on Uno.UI - CI.

@jonpryor
jonpryor force-pushed the dev/jonpryor/jonp-try-net11-p6 branch 2 times, most recently from dcc1b93 to b61dc02 Compare July 16, 2026 15:17
@unodevops

Copy link
Copy Markdown
Contributor

⚠️⚠️ The build 222668 has failed on Uno.UI - CI.

@github-actions github-actions Bot added platform/ios 🍎 Categorizes an issue or PR as relevant to the iOS platform area/skia ✏️ Categorizes an issue or PR as relevant to Skia labels Jul 16, 2026
@jonpryor
jonpryor force-pushed the dev/jonpryor/jonp-try-net11-p6 branch from caac093 to fc13f42 Compare July 17, 2026 11:01
@nventive-devops

Copy link
Copy Markdown
Contributor

The build 222797 found UI Test snapshots differences: skia-linux-screenshots: 67, skia-windows-screenshots: 93

Details
  • skia-linux-screenshots: 67 changed over 2368

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • DataTransferManager.png
    • Gamepad_CurrentReading.png-dark
    • Image_Margin_Large.png-dark
    • Focus_FocusVisual_Properties.png-dark
    • Focus_FocusVisual_Properties.png
    • CalendarView_Theming.png-dark
    • CalendarView_Theming.png
    • ButtonClippingTestsControl.png-dark
    • ElementLevelTheme.png-dark
    • ImageBrush_Stretch.png-dark
    • DisplayInformation.png-dark
    • Gamepad_Enumeration.png-dark
    • Examples.png-dark
    • Examples.png
    • Buttons.png-dark
    • Buttons.png
    • BitmapIcon_Foreground.png
    • EllipsemaskingEllipseGrid.png
    • ClipboardTests.png-dark
    • ContextRequested.png-dark
  • skia-windows-screenshots: 93 changed over 2392

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • DropDownButtonPage.png-dark
    • DropDownButtonPage.png
    • Gamepad_Enumeration.png-dark
    • Focus_FocusVisual_Properties.png-dark
    • Focus_FocusVisual_Properties.png
    • ClipboardTests.png-dark
    • ClipboardTests.png
    • Gamepad_CurrentReading.png-dark
    • ImageBrushInList.png-dark
    • ImageBrushInList.png
    • Image_UseTargetSize.png-dark
    • Buttons.png-dark
    • Buttons.png
    • DoubleImageBrushInList.png-dark
    • DoubleImageBrushInList.png
    • ButtonClippingTestsControl.png-dark
    • ButtonClippingTestsControl.png
    • CalendarView_Theming.png-dark
    • CalendarView_Theming.png
    • ElementLevelTheme.png-dark

@github-actions github-actions Bot added the area/solution-templates Categorizes an issue or PR as relevant to the solution template label Jul 17, 2026
@nventive-devops

Copy link
Copy Markdown
Contributor

The build 222844 found UI Test snapshots differences: skia-linux-screenshots: 67, skia-windows-screenshots: 97

Details
  • skia-linux-screenshots: 67 changed over 2368

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • ClipboardTests.png-dark
    • DisplayInformation.png-dark
    • Image_AnimatedWebP.png
    • BitmapIcon_Foreground.png
    • CalendarView_Theming.png-dark
    • CalendarView_Theming.png
    • Buttons.png-dark
    • Buttons.png
    • DoubleImageBrushInList.png
    • EllipsemaskingEllipseGrid.png
    • ElementLevelTheme.png-dark
    • Gamepad_CurrentReading.png-dark
    • Focus_FocusVisual_Properties.png-dark
    • Focus_FocusVisual_Properties.png
    • ImageIconPage.png-dark
    • ImageIconPage.png
    • Image_Margin_Large.png-dark
    • ButtonClippingTestsControl.png-dark
    • ContextRequested.png-dark
    • ContextRequested.png
  • skia-windows-screenshots: 97 changed over 2392

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • ColorPickerSample.png-dark
    • Buttons.png-dark
    • Buttons.png
    • CalendarView_Theming.png-dark
    • CalendarView_Theming.png
    • Focus_FocusVisual_Properties.png-dark
    • ImageBrushAlignmentXY.png
    • DisplayInformation.png-dark
    • Examples.png
    • ExpanderColorValidationPage.png-dark
    • Gamepad_Enumeration.png-dark
    • ElementLevelTheme.png-dark
    • ElementLevelTheme.png
    • Image_AnimatedWebP.png-dark
    • ImageBrushInList.png-dark
    • ImageBrushInList.png
    • Image_UseTargetSize.png-dark
    • ImageIconPage.png-dark
    • ClipboardTests.png-dark
    • ClipboardTests.png

@github-actions github-actions Bot added area/automation Categorizes an issue or PR as relevant to project automation area/sdk Categorizes an issue or PR as relevant to the Uno.Sdk labels Jul 17, 2026
@nventive-devops

Copy link
Copy Markdown
Contributor

The build 222884 found UI Test snapshots differences: skia-linux-screenshots: 67, skia-windows-screenshots: 99

Details
  • skia-linux-screenshots: 67 changed over 2368

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • CalendarView_Theming.png-dark
    • CalendarView_Theming.png
    • DisplayInformation.png-dark
    • DynamicFont.png
    • DoubleImageBrushInList.png
    • Gamepad_Enumeration.png-dark
    • Gamepad_CurrentReading.png-dark
    • ImageBrush_Stretch.png-dark
    • Image_AnimatedWebP.png
    • BitmapIcon_Foreground.png
    • ButtonClippingTestsControl.png-dark
    • ClipboardTests.png-dark
    • ContextRequested.png-dark
    • ContextRequested.png
    • ElementLevelTheme.png-dark
    • Focus_FocusVisual_Properties.png-dark
    • Focus_FocusVisual_Properties.png
    • DataTransferManager.png
    • EllipsemaskingEllipseGrid.png
    • Image_Margin_Large.png-dark
  • skia-windows-screenshots: 99 changed over 2392

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • ButtonClippingTestsControl.png-dark
    • ButtonClippingTestsControl.png
    • Examples.png
    • ExpanderColorValidationPage.png-dark
    • Gamepad_CurrentReading.png-dark
    • ImageBrushInList.png-dark
    • ImageBrushInList.png
    • ImageBrushAlignmentXY.png
    • ImageBrushLocalAsset.png
    • CalendarView_Theming.png-dark
    • CalendarView_Theming.png
    • ElementLevelTheme.png-dark
    • ElementLevelTheme.png
    • Focus_FocusVisual_Properties.png-dark
    • Focus_FocusVisual_Properties.png
    • Buttons.png-dark
    • Buttons.png
    • ClipboardTests.png-dark
    • ClipboardTests.png
    • DisplayInformation.png-dark

@jonpryor
jonpryor force-pushed the dev/jonpryor/jonp-try-net11-p6 branch from 0f65017 to ccf3978 Compare July 18, 2026 02:28
@nventive-devops

Copy link
Copy Markdown
Contributor

The build 222914 found UI Test snapshots differences: skia-linux-screenshots: 67, skia-windows-screenshots: 94

Details
  • skia-linux-screenshots: 67 changed over 2368

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • ButtonClippingTestsControl.png-dark
    • CalendarView_Theming.png-dark
    • CalendarView_Theming.png
    • Gamepad_Enumeration.png-dark
    • Gamepad_CurrentReading.png-dark
    • BitmapIcon_Foreground.png
    • DoubleImageBrushInList.png
    • Buttons.png-dark
    • Buttons.png
    • ContextRequested.png-dark
    • ContextRequested.png
    • DataTransferManager.png
    • Focus_FocusVisual_Properties.png-dark
    • Focus_FocusVisual_Properties.png
    • DynamicFont.png
    • Image_AnimatedWebP.png
    • ClipboardTests.png-dark
    • ImageIconPage.png-dark
    • ImageIconPage.png
    • ImageBrush_Stretch.png-dark
  • skia-windows-screenshots: 94 changed over 2392

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • Gamepad_Enumeration.png-dark
    • CalendarView_Theming.png-dark
    • CalendarView_Theming.png
    • Examples.png
    • ExpanderColorValidationPage.png-dark
    • ClipboardTests.png-dark
    • ClipboardTests.png
    • Gamepad_CurrentReading.png-dark
    • ButtonClippingTestsControl.png-dark
    • ButtonClippingTestsControl.png
    • ImagesInlineInFlipView.png-dark
    • ImagesInlineInFlipView.png
    • DoubleImageBrushInList.png-dark
    • ImageIconPage.png-dark
    • Image_AnimatedWebP.png
    • Image_Stretch_None.png-dark
    • ElementLevelTheme.png-dark
    • ElementLevelTheme.png
    • ImageBrushInList.png-dark
    • ImageBrushInList.png

@jonpryor jonpryor mentioned this pull request Jul 18, 2026
5 tasks
jonpryor added a commit that referenced this pull request Jul 18, 2026
Context: #23776
Context: https://dev.azure.com/uno-platform/Uno%20Platform/_build/results?buildId=222914&view=logs&j=76c7a511-c4f7-597f-21cf-4ad98ff8d48b&t=b8ba6e51-652c-5e3f-39b0-169c14b728df
Context: bced91b

The CI for #23776 fails in
**Build - Managed Binaries > Build > Generate NuGet Packages**,
in ways that seem inexplicable, e.g.

	EXEC : error : Removed property Microsoft.UI.Xaml.DependencyObject Uno.UI.Controls.Legacy.Primitives.ProgressRingTemplateSettings::TemplatedParent() not found in ignore set. [C:\a\1\s\Build\Uno.UI.Build.csproj]

That type isn't changed by #23776.

Try an empty commit atop commit bced91b.

Does It Build™?
jonpryor added a commit that referenced this pull request Jul 19, 2026
Context: #23776
Context: https://dev.azure.com/uno-platform/Uno%20Platform/_build/results?buildId=222914&view=logs&j=76c7a511-c4f7-597f-21cf-4ad98ff8d48b&t=b8ba6e51-652c-5e3f-39b0-169c14b728df
Context: bced91b

The CI for #23776 fails in
**Build - Managed Binaries > Build > Generate NuGet Packages**,
in ways that seem inexplicable, e.g.

	EXEC : error : Removed property Microsoft.UI.Xaml.DependencyObject Uno.UI.Controls.Legacy.Primitives.ProgressRingTemplateSettings::TemplatedParent() not found in ignore set. [C:\a\1\s\Build\Uno.UI.Build.csproj]

That type isn't changed by #23776.

Try an meaningless commit atop commit bced91b.

Does It Build™?
@jonpryor
jonpryor force-pushed the dev/jonpryor/jonp-try-net11-p6 branch from 2f9c128 to d2f8226 Compare July 20, 2026 11:57
@nventive-devops

Copy link
Copy Markdown
Contributor

The build 223043 found UI Test snapshots differences: skia-linux-screenshots: 67, skia-windows-screenshots: 97

Details
  • skia-linux-screenshots: 67 changed over 2368

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • ClipboardTests.png-dark
    • DynamicFont.png
    • Gamepad_CurrentReading.png-dark
    • DoubleImageBrushInList.png
    • DisplayInformation.png-dark
    • Gamepad_Enumeration.png-dark
    • Examples.png-dark
    • Examples.png
    • ButtonClippingTestsControl.png-dark
    • CalendarView_Theming.png-dark
    • CalendarView_Theming.png
    • ContextRequested.png-dark
    • ContextRequested.png
    • ImageBrush_Stretch.png-dark
    • BitmapIcon_Foreground.png
    • Buttons.png-dark
    • Buttons.png
    • ElementLevelTheme.png-dark
    • ImageIconPage.png-dark
    • ImageIconPage.png
  • skia-windows-screenshots: 97 changed over 2392

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • Examples.png
    • ExpanderColorValidationPage.png-dark
    • Focus_FocusVisual_Properties.png-dark
    • ElementLevelTheme.png-dark
    • ElementLevelTheme.png
    • Buttons.png-dark
    • Buttons.png
    • ContextRequested.png-dark
    • ButtonClippingTestsControl.png-dark
    • ButtonClippingTestsControl.png
    • ClipboardTests.png-dark
    • ClipboardTests.png
    • Expander_ScrollView.png-dark
    • CalendarView_Theming.png
    • ColorPickerSample.png-dark
    • DisplayInformation.png-dark
    • Gamepad_CurrentReading.png-dark
    • ImageBrushInList.png-dark
    • ImageBrushInList.png
    • DoubleImageBrushInList.png-dark

@jonpryor
jonpryor force-pushed the dev/jonpryor/jonp-try-net11-p6 branch from c60a186 to 7a87eb7 Compare July 20, 2026 17:45
@nventive-devops

Copy link
Copy Markdown
Contributor

The build 223114 found UI Test snapshots differences: skia-linux-screenshots: 67, skia-windows-screenshots: 96

Details
  • skia-linux-screenshots: 67 changed over 2368

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • DisplayInformation.png-dark
    • Gamepad_Enumeration.png-dark
    • Gamepad_CurrentReading.png-dark
    • DataTransferManager.png
    • BitmapIcon_Foreground.png
    • ButtonClippingTestsControl.png-dark
    • DoubleImageBrushInList.png
    • Image_Margin_Large.png-dark
    • Buttons.png-dark
    • Buttons.png
    • Examples.png-dark
    • Examples.png
    • ImageBrush_Stretch.png-dark
    • ElementLevelTheme.png-dark
    • CalendarView_Theming.png-dark
    • CalendarView_Theming.png
    • DynamicFont.png
    • Focus_FocusVisual_Properties.png-dark
    • Focus_FocusVisual_Properties.png
    • ClipboardTests.png-dark
  • skia-windows-screenshots: 96 changed over 2392

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • Examples.png
    • ExpanderColorValidationPage.png-dark
    • Gamepad_CurrentReading.png-dark
    • ButtonClippingTestsControl.png
    • Buttons.png-dark
    • ButtonClippingTestsControl.png-dark
    • CalendarView_Theming.png-dark
    • CalendarView_Theming.png
    • Image_UseTargetSize.png-dark
    • DropDownButtonPage.png-dark
    • DropDownButtonPage.png
    • DisplayInformation.png-dark
    • ElementLevelTheme.png-dark
    • ElementLevelTheme.png
    • Gamepad_Enumeration.png-dark
    • ImageBrushInList.png-dark
    • ImageBrushInList.png
    • Buttons.png
    • ColorPickerSample.png-dark
    • DoubleAnimation_VisualStates.png-dark

@jonpryor
jonpryor force-pushed the dev/jonpryor/jonp-try-net11-p6 branch from 7a87eb7 to aba2b1c Compare July 21, 2026 11:07
@nventive-devops

Copy link
Copy Markdown
Contributor

The build 223278 found UI Test snapshots differences: skia-linux-screenshots: 67, skia-windows-screenshots: 88

Details
  • skia-linux-screenshots: 67 changed over 2368

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • BitmapIcon_Foreground.png
    • Buttons.png-dark
    • CalendarView_Theming.png-dark
    • Buttons.png
    • CalendarView_Theming.png
    • ClipboardTests.png-dark
    • ButtonClippingTestsControl.png-dark
    • DoubleImageBrushInList.png
    • Gamepad_CurrentReading.png-dark
    • EllipsemaskingEllipseGrid.png
    • ContextRequested.png-dark
    • ContextRequested.png
    • Image_AnimatedWebP.png
    • Gamepad_Enumeration.png-dark
    • DisplayInformation.png-dark
    • Examples.png-dark
    • Examples.png
    • ElementLevelTheme.png-dark
    • Image_Margin_Large.png-dark
    • Focus_FocusVisual_Properties.png-dark
  • skia-windows-screenshots: 88 changed over 2392

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • Buttons.png-dark
    • Buttons.png
    • ElementLevelTheme.png-dark
    • ElementLevelTheme.png
    • Gamepad_CurrentReading.png-dark
    • ImageBrushInList.png-dark
    • ImageBrushInList.png
    • ButtonClippingTestsControl.png-dark
    • ButtonClippingTestsControl.png
    • DropDownButtonPage.png-dark
    • DropDownButtonPage.png
    • ImageIconPage.png-dark
    • ColorPickerSample.png-dark
    • ColorPickerSample.png
    • DoubleImageBrushInList.png-dark
    • DoubleImageBrushInList.png
    • Gamepad_Enumeration.png-dark
    • DisplayInformation.png-dark
    • Focus_FocusVisual_Properties.png-dark
    • CalendarView_Theming.png-dark

@jonpryor
jonpryor force-pushed the dev/jonpryor/jonp-try-net11-p6 branch from aba2b1c to c8ee447 Compare July 21, 2026 14:54
@unodevops

Copy link
Copy Markdown
Contributor

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 224512 found UI Test snapshots differences: skia-linux-screenshots: 88, skia-windows-screenshots: 261

Details
  • skia-linux-screenshots: 88 changed over 2392

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • ColorPickerSample.png
    • ClipboardTests.png-dark
    • ClipboardTests.png
    • DataTransferManager.png
    • DropDownButtonPage.png-dark
    • Image_Margin_Large.png-dark
    • Buttons.png-dark
    • Buttons.png
    • Focus_FocusVisual_Properties.png-dark
    • Focus_FocusVisual_Properties.png
    • ImageBrushInList.png-dark
    • ImageBrushInList.png
    • Gamepad_CurrentReading.png-dark
    • Gamepad_CurrentReading.png
    • ImageSourceUrlMsAppDataScheme.png
    • Basics Pivot Test.png
    • ElementLevelTheme.png-dark
    • ElementLevelTheme.png
    • ButtonClippingTestsControl.png-dark
    • ButtonClippingTestsControl.png
  • skia-windows-screenshots: 261 changed over 2392

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • AutoSuggestBox_BitmapIcon.png
    • BitmapIcon_Sizing.png
    • BitmapIcon_Foreground.png-dark
    • BitmapIcon_Generic.png-dark
    • BitmapIcon_Foreground.png
    • BitmapIcon_Generic.png
    • BorderImageBrush.png-dark
    • ElementLevelTheme.png-dark
    • ElementLevelTheme.png
    • ElevatedView_CornerRadius.png-dark
    • ElevatedView_CornerRadius.png
    • Examples.png
    • ExpanderColorValidationPage.png-dark
    • GetFocus.png-dark
    • GetFocus.png
    • ImageAlignment2541.png-dark
    • ImageAlignment2541.png
    • ImageSourceUrlMsAppDataScheme.png-dark
    • ImageSourceUrlMsAppDataScheme.png
    • ImageSourceUrlMsAppxScheme.png-dark

@unodevops

Copy link
Copy Markdown
Contributor

⚠️⚠️ The build 224512 has failed on Uno.UI - CI.

@jonpryor
jonpryor marked this pull request as ready for review July 28, 2026 18:57

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.

Pull request overview

This PR updates the Uno repo’s .NET 11 support baseline to .NET 11 SDK Preview 6 and aligns related templates, CI, build scripts, and package pins (notably SkiaSharp and AndroidX) so the codebase and templates continue to build under the net11 “current” lane.

Changes:

  • Bump CI/tooling pins to 11.0.100-preview.6.26359.118 and refresh key dependency versions (SkiaSharp, AndroidX, telemetry).
  • Update solution templates and template test scripts to target net11.0 (and net11 platform TFMs), including updated Android min SupportedOSPlatformVersion.
  • Adjust Skia AppleUIKit TextBox selection interop and improve linker-hints generator process output/error handling for updated linker behavior.

Reviewed changes

Copilot reviewed 62 out of 62 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/Uno.UWP/Uno.netcoremobile.csproj AndroidX DocumentFile version bump for net11 Android.
src/Uno.UI.RuntimeTests/Tests/HotReload/Frame/HRApp/Uno.UI.RuntimeTests.HRApp.Skia.csproj Update SkiaSharp package versions used by HR runtime test app.
src/Uno.UI.RuntimeTests/Tests/AssemblyLoadContext/AlcApp/Uno.UI.RuntimeTests.AlcApp.csproj Update SkiaSharp package versions used by ALC runtime test app.
src/Uno.UI.Runtime.Skia.MacOS/UnoNativeMac/UnoNativeMac/README.md Document new SkiaSharp version for dylib fetch script.
src/Uno.UI.Runtime.Skia.MacOS/UnoNativeMac/UnoNativeMac/getSkiaSharpDylib.sh Default SkiaSharp native assets version bump.
src/Uno.UI.Runtime.Skia.AppleUIKit/UI/Xaml/Controls/TextBox/SinglelineInvisibleTextBoxView.cs Route selection range access through updated helper API.
src/Uno.UI.Runtime.Skia.AppleUIKit/UI/Xaml/Controls/TextBox/NativeTextSelection.cs Update objc_msgSendSuper interop for NET11_0_OR_GREATER.
src/Uno.UI.Runtime.Skia.AppleUIKit/UI/Xaml/Controls/TextBox/MultilineInvisibleTextBoxView.cs Route selection range access through updated helper API.
src/Uno.UI.RemoteControl.Server/Uno.UI.RemoteControl.Server.csproj Update Uno.DevTools.Telemetry package version.
src/Uno.UI.RemoteControl.Host/Uno.UI.RemoteControl.Host.csproj Update Uno.DevTools.Telemetry package version.
src/Uno.UI.RemoteControl.DevServer.Tests/Uno.UI.RemoteControl.DevServer.Tests.csproj Update Uno.DevTools.Telemetry package version (test-only).
src/Uno.Sdk/targets/Uno.Common.Android.targets Change default Android SupportedOSPlatformVersion to 24.0.
src/Uno.Sdk/packages.json Refresh pinned package groups/overrides for net11 lane.
src/SourceGenerators/Uno.UI.Tasks/LinkerHintsGenerator/LinkerHintGeneratorTask.cs Improve linker invocation args + stdout/stderr capture/reporting.
src/SourceGenerators/Uno.UI.SourceGenerators/Uno.UI.SourceGenerators.csproj Update Uno.DevTools.Telemetry package version.
src/SourceGenerators/Uno.UI.SourceGenerators.Tests/_Dotnet.cs Update ref pack identities for .NET 11 preview 6 + Android ref pack.
src/SolutionTemplate/UnoAppWinUILinuxValidation/UnoAppWinUILinuxValidation/UnoAppWinUILinuxValidation.csproj Move template TFMs from net10 to net11.
src/SolutionTemplate/UnoAppWinUILinuxValidation/UnoAppWinUILinuxValidation.Windows/UnoAppWinUILinuxValidation.Windows.csproj Move Windows head TFM to net11.
src/SolutionTemplate/UnoAppWinUILinuxValidation/UnoAppWinUILinuxValidation.Skia.Linux.FrameBuffer/UnoAppWinUILinuxValidation.Skia.Linux.FrameBuffer.csproj Move Skia head TFM to net11.
src/SolutionTemplate/UnoAppWinUI/UnoAppWinUI/UnoAppWinUI.csproj Move template TFMs to net11 + bump Android supported OS version.
src/SolutionTemplate/UnoAppWinUI/UnoAppWinUI.Windows/UnoAppWinUI.Windows.csproj Move Windows head TFM to net11.
src/SolutionTemplate/UnoAppWinUI/UnoAppWinUI.Skia.Linux.FrameBuffer/UnoAppWinUI.Skia.Linux.FrameBuffer.csproj Move Skia head TFM to net11 + update SkiaSharp packages.
src/SolutionTemplate/UnoAppWinUI/UnoAppWinUI.Mobile/UnoAppWinUI.Mobile.csproj Move mobile TFMs to net11 and align per-TFM properties.
src/SolutionTemplate/MyUnoLib2/MyUnoLib2.csproj Move library template TFMs to net11.
src/SolutionTemplate/MyUnoLib/MyUnoLib.csproj Move library template TFMs to net11.
src/SolutionTemplate/MyCrossRuntimeLib/MyCrossRuntimeLib/MyCrossRuntimeLib.Wasm.csproj Move Wasm head TFM to net11.
src/SolutionTemplate/MyCrossRuntimeLib/MyCrossRuntimeLib/MyCrossRuntimeLib.Skia.csproj Move Skia head TFM to net11.
src/SolutionTemplate/MyCrossRuntimeLib/MyCrossRuntimeLib/MyCrossRuntimeLib.csproj Move multi-target TFMs to net11.
src/SolutionTemplate/MyAppXamlTrim/MyAppXamlTrim.Wasm/MyAppXamlTrim.Wasm.csproj Move Wasm trim template TFM to net11.
src/SolutionTemplate/MyAppXamlTrim/MyAppXamlTrim.Skia.Linux.FrameBuffer/MyAppXamlTrim.Skia.Linux.FrameBuffer.csproj Move Skia trim template TFM to net11.
src/SolutionTemplate/MyAppXamlTrim/MyAppXamlTrim.Mobile/MyAppXamlTrim.Mobile.csproj Move mobile trim template TFMs to net11 + raise Android supported OS version.
src/SolutionTemplate/5.6/uno56netcurrent/uno56netcurrent/uno56netcurrent.csproj Move “netcurrent” template TFMs to net11.
src/SolutionTemplate/5.6/uno56netcurrent/uno56netcurrent/Properties/launchSettings.json Update launchSettings paths to net11 output folder.
src/SolutionTemplate/5.6/uno56net9win32/uno56net9win32/uno56net9win32.csproj Move desktop template TFM to net11.
src/SolutionTemplate/5.6/uno56net9win32/uno56net9win32/Properties/launchSettings.json Update launchSettings paths to net11 output folder.
src/SolutionTemplate/5.6/uno56droidioswasmskia/UnoLibrary1/UnoLibrary1.csproj Move multi-target TFMs to net11.
src/SolutionTemplate/5.6/uno56droidioswasmskia/Uno56NugetLibrary/Uno56NugetLibrary.csproj Move multi-target TFMs to net11.
src/SolutionTemplate/5.6/uno56droidioswasmskia/uno56droidioswasmskia/uno56droidioswasmskia.csproj Move app template TFMs to net11.
src/SolutionTemplate/5.3/uno53net9Lib/uno53net9Lib.csproj Move template TFMs to net11.
src/SolutionTemplate/5.3/uno53net9blank/uno53net9blank/uno53net9blank.csproj Move template TFMs to net11 + add UnoFeaturesOverride hook + update validation target conditions.
src/SolutionTemplate/5.3/uno53net9blank/uno53net9blank/Properties/launchSettings.json Update launchSettings paths to net11 output folder.
src/SolutionTemplate/5.3/uno53AppWithLib/uno53lib/uno53lib.csproj Move library template TFMs to net11.
src/SolutionTemplate/5.3/uno53AppWithLib/uno53emptylib/uno53emptylib.csproj Move library template TFMs to net11.
src/SolutionTemplate/5.3/uno53AppWithLib/uno53AppWithLib/uno53AppWithLib.csproj Move app template TFMs to net11 + update validation conditions.
src/SolutionTemplate/5.3/uno53AppWithLib/uno53AppWithLib/Properties/launchSettings.json Update launchSettings paths to net11 output folder.
src/SamplesApp/SamplesApp.Skia.netcoremobile/SamplesApp.Skia.netcoremobile.csproj Update AndroidX/Material versions for net11 Android in SamplesApp.
src/Directory.Build.targets Bump SkiaSharp/HarfBuzz/ICU versions + net11 SystemEvents preview version.
src/AddIns/Uno.UI.Svg/buildTransitive/Uno.WinUI.Svg.targets Update error message minimum SkiaSharp version text.
src/AddIns/Uno.UI.Lottie/buildTransitive/Uno.WinUI.Lottie.targets Update error message minimum SkiaSharp/Skottie version text.
doc/articles/features/using-the-uno-sdk.md Document updated Android SupportedOSPlatformVersion default.
doc/articles/features/using-skia-desktop.md Document updated SkiaSharp version pin (and related guidance).
doc/articles/features/Lottie.md Update Lottie doc minimum SkiaSharp package versions.
build/test-scripts/run-netcore-mobile-template-tests.ps1 Update template test TFMs to net11 + switch to UnoFeaturesOverride.
build/test-scripts/run-net7-template-linux.ps1 Update net11 Wasm/desktop publish test TFMs + align SkiaSharp version.
build/nuget/Uno.WinUI.Svg.nuspec Update SkiaSharp dependency versions in nuspec.
build/nuget/Uno.WinUI.Lottie.nuspec Update SkiaSharp dependency versions in nuspec.
build/nuget/Uno.WinUI.Graphics2DSK.nuspec Update SkiaSharp dependency versions in nuspec.
build/ci/tests/.azure-devops-tests-android-nativeaot-skia-build.yml CI: publish with updated SkiaSharpVersion override.
build/ci/tests/.azure-devops-tests-android-coreclr-skia-build.yml CI: publish with updated SkiaSharpVersion override.
build/ci/net11/_global.json Pin net11 CI SDK/tool version to preview 6.
.vsts-ci.yml Update Xcode root + UnoCheck + .NET 11 preview 6 SDK pin.
.vsts-ci-docs.yml Update UnoCheck pin (but SDK pin appears not updated yet).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .vsts-ci-docs.yml Resolved
@unodevops

Copy link
Copy Markdown
Contributor

@jonpryor
jonpryor force-pushed the dev/jonpryor/jonp-try-net11-p6 branch from 22caa2f to 82f0d82 Compare July 28, 2026 19:33
@unodevops

Copy link
Copy Markdown
Contributor

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 224580 found UI Test snapshots differences: skia-linux-screenshots: 88, skia-windows-screenshots: 258

Details
  • skia-linux-screenshots: 88 changed over 2392

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • Basics Pivot Test.png
    • DataTransferManager.png
    • EllipsemaskingEllipseGrid.png
    • Gamepad_CurrentReading.png-dark
    • Gamepad_CurrentReading.png
    • ImageSourceUrlMsAppDataScheme.png
    • Focus_FocusVisual_Properties.png-dark
    • Focus_FocusVisual_Properties.png
    • Examples.png
    • ExpanderColorValidationPage.png-dark
    • ButtonClippingTestsControl.png-dark
    • CalendarView_Theming.png-dark
    • CalendarView_Theming.png
    • ClipboardTests.png-dark
    • ClipboardTests.png
    • Gamepad_Enumeration.png-dark
    • Image_AnimatedWebP.png-dark
    • ButtonClippingTestsControl.png
    • DoubleImageBrushInList.png-dark
    • DoubleImageBrushInList.png
  • skia-windows-screenshots: 258 changed over 2392

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • ElementLevelTheme.png-dark
    • ElementLevelTheme.png
    • BitmapIcon_Generic.png
    • ColorPickerSample.png-dark
    • ColorPickerSample.png
    • Examples.png
    • ExpanderColorValidationPage.png-dark
    • BitmapIcon_Sizing.png-dark
    • CompositionPath.png-dark
    • CompositionPath.png
    • DisplayInformation.png-dark
    • DisplayInformation.png
    • DynamicBrushes_On_Shapes.png-dark
    • ElevatedView_CornerRadius.png-dark
    • DynamicBrushes_On_Shapes.png
    • ElevatedView_CornerRadius.png
    • AutoSuggestBox_BitmapIcon.png
    • BorderImageBrushRelativeTransform.png-dark
    • BorderImageBrushRelativeTransform.png
    • ClipboardTests.png-dark

@unodevops

Copy link
Copy Markdown
Contributor

⚠️⚠️ The build 224580 has failed on Uno.UI - CI.

@jonpryor
jonpryor force-pushed the dev/jonpryor/jonp-try-net11-p6 branch from 82f0d82 to c8d0178 Compare July 29, 2026 11:59
@unodevops

Copy link
Copy Markdown
Contributor

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 224705 found UI Test snapshots differences: skia-linux-screenshots: 88, skia-windows-screenshots: 254

Details
  • skia-linux-screenshots: 88 changed over 2392

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • Basics Pivot Test.png
    • Gamepad_CurrentReading.png-dark
    • Gamepad_CurrentReading.png
    • Buttons.png-dark
    • Buttons.png
    • ColorPickerSample.png
    • ElementLevelTheme.png-dark
    • ElementLevelTheme.png
    • Focus_FocusVisual_Properties.png-dark
    • Focus_FocusVisual_Properties.png
    • ImageSourceUrlMsAppDataScheme.png
    • ButtonClippingTestsControl.png-dark
    • ButtonClippingTestsControl.png
    • DropDownButtonPage.png-dark
    • CalendarView_Theming.png-dark
    • CalendarView_Theming.png
    • ClipboardTests.png-dark
    • ClipboardTests.png
    • DataTransferManager.png
    • Examples.png
  • skia-windows-screenshots: 254 changed over 2392

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • BitmapIcon_Generic.png-dark
    • BitmapIcon_Generic.png
    • FlipView_Images.png-dark
    • FlipView_Images.png
    • BorderVisualClipping.png
    • CalendarView_Theming.png-dark
    • CalendarView_Theming.png
    • CompositionPath.png-dark
    • CompositionPath.png
    • Ellipse.png-dark
    • Ellipse.png
    • ImageSourceUrlMsAppDataScheme.png-dark
    • ImageSourceUrlMsAppDataScheme.png
    • ImageSourceUrlMsAppxScheme.png-dark
    • ImageSourceUrlMsAppxScheme.png
    • ImageSourceUrlNoScheme.png-dark
    • ImageSourceUrlNoScheme.png
    • ColorPickerSample.png-dark
    • ElevatedView_CornerRadius.png-dark
    • ElevatedView_CornerRadius.png

@unodevops

Copy link
Copy Markdown
Contributor

⚠️⚠️ The build 224705 has failed on Uno.UI - CI.

jonpryor added 4 commits July 31, 2026 09:46
Context: #23626

Context: dotnet/macios#25867
Context: dotnet/macios@4176951
Context: https://github.com/dotnet/macios/blob/8143f0389324a8c7dafcf30fb887eec32db43055/src/Foundation/NSObject2.cs#L753-L776
Context: https://github.com/dotnet/macios/releases/tag/dotnet-11.0.1xx-preview6-11720

Update version numbers accordingly.

Build system changes and notes:

  * dotnet/macios on .NET 11 Preview 6 requires Xcode 26.6!

  * Bump `@(PackageReference)`s for `Uno.DevTools.Telemetry` to 1.3.3.
    This fixes **Tests - Add-in Version Alignment information**:

        == Case 1 latent (1): add-in needs higher than host AND bundles a copy in its loadable dir…

        • Uno.DevTools.Telemetry
            host loaded     v1.3.0.0  referenced by Uno.UI.RemoteControl.Server
            add-in needs    v1.3.3.0
            add-in bundles  v1.3.3.0  (Uno.UI.HotDesign)

  * Android now requires `$(SupportedOSPlatformVersion)` >= 24.
    Update where appropriate.  Avoids:

        error XA4216: The deployment target '21' is not supported (the minimum is '24.0'). Please increase the $(SupportedOSPlatformVersion) property value in your project file.

Source code changes:

  * In .NET for iOS in .NET 11, `NSObject.SuperHandle` is now
    `[Obsolete]`.  Update use of `.SuperHandle` on .NET 11+ to avoid
    the CS0618.  See also dotnet/macios@41769516.

To sanity-check locally, try:

	dotnet build -f "net11.0-ios" -c Release "-p:UnoTargetFrameworkOverride=net11.0-ios" \
	  -p:UNO_DISABLE_ANALYZERS_IN_SAMPLES=true -bl \
	  src/SamplesApp/SamplesApp.Skia.netcoremobile/SamplesApp.Skia.netcoremobile.csproj

TODO:

  * #23626 mentions that wasm on .NET 11 Preview 6 *breaks ABI* from
    previous versions, resulting in *linker errors* when building.

    We'll need new Uno.icu packages and an updated SkiaSharp to build
    on WebAssembly.

  * Update **Tests - Templates** to build for and run on .NET 11.
    Now that dotnet/macios#25867 has been fixed, this should now be
    possible.

~~ NuGet Package Versions ~~

When building some projects with a target framework of e.g. `net11.0`,
the build may fail with:

	error NU1605: Warning As Error: Detected package downgrade: Xamarin.AndroidX.AppCompat from 1.7.1.3 to 1.7.1.1. Reference the package directly from the project to select a different version.
	error NU1605:  uno53net9blank -> Uno.WinUI.Runtime.Skia.Android 7.0.0-dev.169.gd34501c39f -> Xamarin.AndroidX.AppCompat (>= 1.7.1.3)
	error NU1605:  uno53net9blank -> Xamarin.AndroidX.AppCompat (>= 1.7.1.1)

This is a sign that NuGet package versions need to be harmonized
between `@(PackageReference)` and `src/Uno.Sdk/packages.json`.

`@(PackageReference)` needs to be udpated *for latest .NET* to be the
latest NuGet package version available from nuget.org.

Update `packages.json` such that:

 1. The `version` key is the **`versionOverride` > `net10.0`** value
    within `targets/netstandard2.0/packages.json` for the
    Uno.Sdk 6.6.29 package.

 2. The **`versionOverride` > `net10.0`** key is renamed to `net11.0`.
    `net10.0` is the base level package version, because in .NET 11
    only .NET 10 and .NET 11 are supported; .NET 9 isn't relevant.

 3. Update the **`versionOverride` > `net11.0`** values to the latest
    values for those packages currently available on NuGet.org.

Similarly, review `@(PackageReference)`s used by `net11.0-android`
and bump them to the latest package versions available on NuGet.
These should be consistent with the versions in `packages.json`.

This addresses the NU1605 errors.
Context: #23626
Context: unoplatform/uno.icu#27
Context: mono/SkiaSharp#4459
Context: mono/SkiaSharp#4487
Context: https://github.com/mono/SkiaSharp/releases/tag/v4.151.0-rc.1.1

The "chore: Update to .NET 11 Preview 6" commit mentioned:

> Context: dotnet/macios#25867
> …
> TODO:
>
>   * Update **Tests - Templates** to build for and run on .NET 11.
>     Now that dotnet/macios#25867 has been fixed, this should now be
>     possible.

With some quick **sed(1)**s later:

	git grep -l net10.0 src/SolutionTemplate                  | xargs sed -i '' 's/net10\.0/net11.0/g'
	git grep -l net10.0 build/test-scripts/run*template*.ps1  | xargs sed -i '' 's/net10\.0/net11.0/g'

we see that many tests pass, but anything related to WebAssembly fails:

	error : undefined symbol: saveSetjmp (referenced by root reference (e.g. compiled C/C++ code)) [/agent/_work/1/s/src/SolutionTemplate/5.3/uno53net9blank/uno53net9blank/uno53net9blank.csproj::TargetFramework=net11.0-browserwasm]
	error : undefined symbol: testSetjmp (referenced by root reference (e.g. compiled C/C++ code)) [/agent/_work/1/s/src/SolutionTemplate/5.3/uno53net9blank/uno53net9blank/uno53net9blank.csproj::TargetFramework=net11.0-browserwasm]
	error : Aborting compilation due to previous errors [/agent/_work/1/s/src/SolutionTemplate/5.3/uno53net9blank/uno53net9blank/uno53net9blank.csproj::TargetFramework=net11.0-browserwasm]
	error : '/agent/_work/1/s/.dotnet/packs/Microsoft.NET.Runtime.Emscripten.5.0.6.Node.linux-x64/11.0.0-preview.6.26359.118/tools/bin/node /agent/_work/1/s/.dotnet/packs/Microsoft.NET.Runtime.Emscripten.5.0.6.Sdk.linux-x64/11.0.0-preview.6.26359.118/tools/emscripten/tools/compiler.mjs -' failed (returned 1) [/agent/_work/1/s/src/SolutionTemplate/5.3/uno53net9blank/uno53net9blank/uno53net9blank.csproj::TargetFramework=net11.0-browserwasm]

This is because Emscripten/LLVM broke ABI; see also #23626.

unoplatform/uno.icu#27 contains fixes for the Uno.icu-wasm NuGet,
but we also require changes to SkiaSharp by way of (at least)
mono/SkiaSharp#4459 and mono/SkiaSharp#4487.

Bump to Uno.icu* 77.3.0-dev.4 and SkiaSharp 4.151.0-rc.1.1 to get the
Emscripten fixes and fix the above WebAssembly-related errors.
Context: #23626

Commit "chore: run SolutionTemplate tests against .NET 11" contains
a SkiaSharp and Uno.icu version bump, allowing a great many
net11.0-browserwasm tests to *pass*, whereas before they would not
build due to the `saveSetjmp` symbol problem; see #23626.

**Tests - Templates > macOS Tests 1 > Run Project Templates Tests**
has test failures, but not *all* net11.0-browserwasm tests fail:

	EXEC : error : undefined symbol: saveSetjmp (referenced by root reference (e.g. compiled C/C++ code)) [/Users/runner/work/1/s/src/SolutionTemplate/5.3/uno53net9blank/uno53net9blank/uno53net9blank.csproj::TargetFramework=net11.0-browserwasm]
	EXEC : warning : To disable errors for undefined symbols use `-sERROR_ON_UNDEFINED_SYMBOLS=0` [/Users/runner/work/1/s/src/SolutionTemplate/5.3/uno53net9blank/uno53net9blank/uno53net9blank.csproj::TargetFramework=net11.0-browserwasm]
	EXEC : warning : _saveSetjmp may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library [/Users/runner/work/1/s/src/SolutionTemplate/5.3/uno53net9blank/uno53net9blank/uno53net9blank.csproj::TargetFramework=net11.0-browserwasm]
	EXEC : error : undefined symbol: testSetjmp (referenced by root reference (e.g. compiled C/C++ code)) [/Users/runner/work/1/s/src/SolutionTemplate/5.3/uno53net9blank/uno53net9blank/uno53net9blank.csproj::TargetFramework=net11.0-browserwasm]
	EXEC : warning : _testSetjmp may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library [/Users/runner/work/1/s/src/SolutionTemplate/5.3/uno53net9blank/uno53net9blank/uno53net9blank.csproj::TargetFramework=net11.0-browserwasm]
	EXEC : error : Aborting compilation due to previous errors [/Users/runner/work/1/s/src/SolutionTemplate/5.3/uno53net9blank/uno53net9blank/uno53net9blank.csproj::TargetFramework=net11.0-browserwasm]

Looking at the binlog, the problem is that it's using the wrong
SkiaSharp version!

	Importing project "/Users/runner/.nuget/packages/skiasharp.nativeassets.webassembly/3.119.2/buildTransitive/netstandard1.0/SkiaSharp.NativeAssets.WebAssembly.props" into project "/Users/runner/work/1/s/src/SolutionTemplate/5.3/uno53net9blank/uno53net9blank/obj/uno53net9blank.csproj.nuget.g.props" at (42,5).

Note `3.119.2`, which is what *stable* Uno.Sdk uses!
The unoplatform/uno/feature/breakingchanges branch uses SkiaSharp 4.x,
and *should* be using 4.151.0-rc.1.1!

Using the wrong SkiaSharp version entirely explains the error.

The question: *why* is the wrong SkiaSharp version being used?

@jonpryor doesn't *know*, but has a *guess*.  When looking through
the `template-tests-macos-logs` Artifacts, we have a "Bad" binlog,
which contains the above error messages:

	template-tests-macos-logs/5.3/uno53net9blank/uno53net9blank/uno53net9blank.csproj/3/debug/msbuild.binlog

and an interesting counterexample ("Good"), which *also* builds for
net11.0-browserwasm but builds successfully:

	template-tests-macos-logs/5.3/uno53net9blank/uno53net9blank/uno53net9blank.csproj/2/debug/msbuild.binlog

After a bit of pondering, two interesting things stick out when
comparing the build logs.

Firstly is the "Command line arguments" value, showing how the project
was originally built.  There is one difference of consequence:
The "Bad" project is built with `-p:UnoFeatures=Material%3BToolkit`,
while the "Good" project doens't have that argument at all.

This difference is present within
`run-netcore-mobile-template-tests.ps1``:

	$sdkFeatures = $(If ($IsWindows) {"-p:UnoFeatures=Material%3BExtensions%3BToolkit%3BCSharpMarkup%3BSvg%3BMVUX"} Else { "-p:UnoFeatures=Material%3BToolkit" });
	…
	    # this one builds successfully
	    @(1, "5.3/uno53net9blank/uno53net9blank/uno53net9blank.csproj", @("-f", "net11.0-browserwasm"), @("macOS", "NetCore")),
	    # this one fails
	    @(1, "5.3/uno53net9blank/uno53net9blank/uno53net9blank.csproj", @("-f", "net11.0-browserwasm", $sdkFeatures), @("macOS", "NetCore")),

The `-p:UnoFeatures` observation leads to the second difference that
sticks out: in "Good" we see:

	…/Uno.Features.targets(5,3): message : Property reassignment: $(UnoFeatures)=";" (previous value: "") at /Users/runner/.nuget/packages/uno.sdk.private/7.0.0-dev.176.g81ed702c78/targets/Uno.Features.targets (5,3)
	…/Uno.Features.targets(13,3): message : Property reassignment: $(UnoFeatures)=";skiarenderer;" (previous value: ";") at /Users/runner/.nuget/packages/uno.sdk.private/7.0.0-dev.176.g81ed702c78/targets/Uno.Features.targets (13,3)

In "Bad" we instead see:

	The "UnoFeatures" property is a global property, and cannot be modified.

"Bad" sees a "global property" because using `-p:PropertyName=Value`
on the `dotnet build` command line [creates global properties][0].

The guess is that making `$(UnoFeatures)` a global property in this
manner prevents "Bad" from using the correct SkiaSharp version, which
in turn causes the build failure.

Attempt to fix this by updating `run-netcore-mobile-template-tests.ps1`
to instead set `-p:UnoFeaturesOverride=…`, and update
`uno53net9blank.csproj` so that `$(UnoFeatures)` is set to
`$(UnoFeaturesOverride)` when it's not the empty string.

[0]: https://learn.microsoft.com/visualstudio/msbuild/msbuild-properties?view=visualstudio#global-properties
Context: dotnet/runtime#125365
Context: dotnet/runtime#126268

**Tests - Templates > * Tests 3 > Run Project Template Tests**
was failing!

	…/packages/uno.winui/7.0.0-dev.178.gf9062d5bec/buildTransitive/Uno.UI.Tasks.targets(375,3): error MSB4018:
	  The "LinkerHintGeneratorTask_f9062d5bec5689d5ab47fcf80aff1d9b3cfec646" task failed unexpectedly.
	  System.IO.DirectoryNotFoundException->Microsoft.Build.Framework.BuildException.GenericBuildTransferredException: Could not find a part of the path '/Users/runner/work/1/s/src/SolutionTemplate/5.6/uno56netcurrent/uno56netcurrent/obj/Release/net11.0-browserwasm/linkerhints/pass1'.
	     at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)
	     at System.IO.Enumeration.FileSystemEnumerator`1.Init()
	     at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized, String expression)
	     at System.IO.Enumeration.FileSystemEnumerableFactory.UserFiles(String directory, String expression, EnumerationOptions options)
	     at System.IO.Directory.InternalEnumeratePaths(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions enumerationOptions)
	     at System.IO.Directory.GetFiles(String path, String searchPattern, EnumerationOptions enumerationOptions)
	     at Uno.UI.Tasks.LinkerHintsGenerator.LinkerHintGeneratorTask_f9062d5bec5689d5ab47fcf80aff1d9b3cfec646.BuildResultingFeaturesList(String resultPath)
	     at Uno.UI.Tasks.LinkerHintsGenerator.LinkerHintGeneratorTask_f9062d5bec5689d5ab47fcf80aff1d9b3cfec646.Execute()
	     at Microsoft.Build.CommandLine.OutOfProcTaskAppDomainWrapperBase.InstantiateAndExecuteTask(IBuildEngine oopTaskHostNode, LoadedType taskType, String taskName, String taskLocation, String taskFile, Int32 taskLine, Int32 taskColumn, String targetName, String projectFile, IDictionary`2 taskParams)

The `dotnet build` output didn't contain any other useful output.

The binlog *did* contain interesting output, specifically:

	ILLink: error IL1032: Root assembly with name 'obj/Release/net11.0-browserwasm/uno56netcurrent.dll' could not be found.

Thus began a bit of hair pulling -- does `uno56netcurrent.dll` not
exist (it does exist) -- but eventually learned the following:
dotnet/runtime#125365 *changed* how `illink.dll` processes command-
line arguments, specifically the .NET 10 `-a FILE [MODE]` option became
the `-a ASSEMBLYNAME [MODE]` option in .NET 11!  This change in
semantics in turn caused the error IL1032, which in turn meant that
`illink.dll` no longer created the `…/pass1` directory, which in turn
caused `BuildResultingFeaturesList()` to throw.

The change from dotnet/runtime#125365 broke the aspnetcore team, who
filed dotnet/runtime#126268, the result of which was "we're not fixing
the 'regression,' fix your code."

The fix is to provide the *assembly name* instead of the *file path*,
i.e. use `Path.GetFileNameWithoutExtension(AssemblyPath)`,
not `AssemblyPath`.

This change was also tested with .NET 10 `illink.dll`, and it
continues to work there; .NET 10 `-a FILE` didn't require a *path*,
just the *name*.

This change causes `illink.dll` to no longer emit `error IL1032`,
which in turn causes `…/pass1` to be created, allowing everything to
work.

…but while we're here, there's a "usability" issue: part of the problem
was that `illink` reported an error IL1032, but that error wasn't shown
to `dotnet build` output!  The error wasn't shown because the error was
written to stdout, not stderr!  Which means stdout may contain error
messages.

Update `StartProcess()` so that instead of using a `StringBuilder` to
capture stdout and stderr, the messages are instead kept within
`List<string>`s.

Update `RunLinker()` so that when the exit code isn't 0, all stdout
messages containing ` error ` are written to `Log.LogError()`.

(A previous iteration avoided the `List<string>` change and just wrote
`Log.LogError(res.output)`, but the existing `StringBuilder` use meant
that no newlines made it to `res.output`, so the result was a
GIGANTICALLY LONG message, as it contained every *warning* produced.
Since it would be nicer to just list the error messages, and a
`List<string>` made such filtering easier, the `StringBuilder` use
was removed.)
@jonpryor
jonpryor force-pushed the dev/jonpryor/jonp-try-net11-p6 branch from c8d0178 to d73cf5a Compare July 31, 2026 13:47
@unodevops

Copy link
Copy Markdown
Contributor

@unodevops

Copy link
Copy Markdown
Contributor

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 225232 found UI Test snapshots differences: skia-windows-screenshots: 295, skia-linux-screenshots: 74

Details
  • skia-windows-screenshots: 295 changed over 2392

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • AutoSuggestBox_BitmapIcon.png
    • BasicAcrylicBrushTest2.png-dark
    • ClipboardTests.png-dark
    • ClipboardTests.png
    • FlipView_Images.png-dark
    • FlipView_Images.png
    • Gamepad_Enumeration.png-dark
    • Gamepad_Enumeration.png
    • GeolocatorPositionChanged.png-dark
    • GeolocatorPositionChanged.png
    • ImageAlignment2541.png-dark
    • ImageAlignment2541.png
    • ImageSourceUrlMsAppDataScheme.png-dark
    • ImageSourceUrlMsAppDataScheme.png
    • ImageSourceUrlMsAppxScheme.png-dark
    • ImageSourceUrlMsAppxScheme.png
    • ImageSourceUrlNoScheme.png-dark
    • ImageSourceUrlNoScheme.png
    • BasicAcrylicBrushTest2.png
    • ButtonClippingTestsControl.png-dark
  • skia-linux-screenshots: 74 changed over 2392

    🚨🚨 Comparison Details (first 20) 🚨🚨
    • ButtonClippingTestsControl.png-dark
    • CalendarView_Theming.png-dark
    • ClipboardTests.png-dark
    • DamageRegion_ShadowChildPaintingCaster.png-dark
    • DropDownButtonPage.png-dark
    • Gamepad_Enumeration.png-dark
    • ButtonClippingTestsControl.png
    • DynamicFont.png-dark
    • Buttons.png
    • DisplayInformation.png-dark
    • Examples.png
    • ExpanderColorValidationPage.png-dark
    • DoubleImageBrushInList.png-dark
    • Gamepad_CurrentReading.png-dark
    • Image_UseTargetSizeLate.png-dark
    • Image_UseTargetSizeLate.png
    • ContextRequested.png-dark
    • ContextRequested.png
    • ElementLevelTheme.png-dark
    • ElementLevelTheme.png

@jonpryor
jonpryor enabled auto-merge August 1, 2026 01:36
@jonpryor
jonpryor merged commit 9f5ca58 into feature/breakingchanges Aug 1, 2026
68 checks passed
@jonpryor
jonpryor deleted the dev/jonpryor/jonp-try-net11-p6 branch August 1, 2026 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/automation Categorizes an issue or PR as relevant to project automation area/build Categorizes an issue or PR as relevant to build infrastructure area/code-generation Categorizes an issue or PR as relevant to code generation area/sdk Categorizes an issue or PR as relevant to the Uno.Sdk area/skia ✏️ Categorizes an issue or PR as relevant to Skia area/solution-templates Categorizes an issue or PR as relevant to the solution template kind/documentation platform/ios 🍎 Categorizes an issue or PR as relevant to the iOS platform platform/macos 🍏 Categorizes an issue or PR as relevant to the macOS platform

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants