unoplatform / uno

Open-source platform for building cross-platform native Mobile, Web, Desktop and Embedded apps quickly. Create rich, C#/XAML, single-codebase apps from any IDE. Hot Reload included! 90m+ NuGet Downloads!!
https://platform.uno
Apache License 2.0
9.05k stars 734 forks source link

fix(wasm): workaround for invalid net9-browserwasm library detection (backport #18806) #18813

Closed mergify[bot] closed 1 week ago

mergify[bot] commented 1 week ago

Related to https://github.com/dotnet/runtime/pull/109866


This is an automatic backport of pull request #18806 done by Mergify.

mergify[bot] commented 1 week ago

Cherry-pick of 8e5cb3ca4259544404e80001661cdd257afd01fe has failed:

On branch mergify/bp/release/stable/5.5/pr-18806
Your branch is ahead of 'origin/release/stable/5.5' by 2 commits.
  (use "git push" to publish your local commits)

You are currently cherry-picking commit 8e5cb3ca42.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Unmerged paths:
  (use "git add <file>..." to mark resolution)
    both modified:   build/test-scripts/run-net7-template-linux.ps1

no changes added to commit (use "git add" and/or "git commit -a")

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally

unodevops commented 1 week ago

🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-18813/index.html

unodevops commented 1 week ago

🤖 Your WebAssembly Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-18813/index.html

unodevops commented 1 week ago

🤖 Your WebAssembly Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-18813/index.html

unodevops commented 1 week ago

🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-18813/index.html

nventive-devops commented 1 week ago

The build 147494 found UI Test snapshots differences: android-28-net8: 20, android-28-net8-Snap: 45, ios: 33, ios-Snap: 48, skia-gtk-screenshots: 55, skia-linux-screenshots: 56, skia-windows-screenshots: 74, wasm: 441, wasm-automated-net9.0-UWP-Default-automated: 25, wasm-automated-net9.0-UWP-RuntimeTests-0: 0, wasm-automated-net9.0-UWP-RuntimeTests-1: 0, wasm-automated-net9.0-UWP-RuntimeTests-2: 0, wasm-automated-net9.0-WinUI-Benchmarks-automated: 0, wasm-automated-net9.0-WinUI-RuntimeTests-0: 0, wasm-automated-net9.0-WinUI-RuntimeTests-1: 0, wasm-automated-net9.0-WinUI-RuntimeTests-2: 0

Details * `android-28-net8`: **20** changed over 829
🚨🚨 Comparison Details (first 20) 🚨🚨 - `Detereminate_ProgressRing_Validation50_[#FF0000_#008000_#008000_#FF0000]_Progress-Ring-Value-50` - `FlyoutTest_Target_Uno_UI_Samples_Content_UITests_Flyout_Flyout_Target` - `Detereminate_ProgressRing_Validation25_[#FF0000_#008000_#FF0000_#FF0000]_Progress-Ring-Value-25` - `Keyboard_Textbox_InsideScrollViewer_Validation_2_-_Remove_Focus_on_placeholderTextTextBox` - `ListView_SelectedItems_SamplesApp_Windows_UI_Xaml_Controls_ListView_ListViewSelectedItems` - `WebView_NavigateToAnchor_Uno_UI_Samples_Content_UITests_WebView_WebView_AnchorNavigation` - `When_NoSelection_Then_PointersEvents_UITests_Windows_UI_Xaml_Controls_ListView_ListView_Selection_Pointers` - `Button_OverlappedButtons_UITests_Shared_Windows_UI_Xaml_Controls_Button_Overlapped_Buttons` - `When_Parent_PointerMoved_After_drag_on_non-scrolling_ScrollViewer` - `When_Parent_PointerMoved_After_drag_on_ScrollViewer_-_touch` - `SequentialAnimations_SamplesApp_Windows_UI_Xaml_Media_Animation_SequentialAnimationsPage` - `UpDownEnabledTest_UITests_Shared_Microsoft_UI_Xaml_Controls_NumberBoxTests_NumberBoxPage` - `UpDownTest_UITests_Shared_Microsoft_UI_Xaml_Controls_NumberBoxTests_NumberBoxPage` - `ValidateResourceLoader_Simple_UITests_Shared_Windows_ApplicationModel_Resources_ResourceLoader_ResourceLoader_Simple` - `DecimalFormatterTest_UITests_Shared_Microsoft_UI_Xaml_Controls_NumberBoxTests_NumberBoxPage` - `ProgressRing_IsEnabled_Running_UITests_Windows_UI_Xaml_Controls_ProgressRing_WindowsProgressRing_GH1220` - `ProgressRing_Visibility_Collapsed_UITests_Windows_UI_Xaml_Controls_ProgressRing_WindowsProgressRing_GH1220` - `When_StretchAndAlignmentFill_ImageBrush-100-100-Fill-XCenter-YCenter` - `Detereminate_ProgressRing_Validation75_[#FF0000_#008000_#008000_#008000]_Progress-Ring-Value-75` - `WebView_NavigateToAnchor_Initial`
* `android-28-net8-Snap`: **45** changed over 1066
🚨🚨 Comparison Details (first 20) 🚨🚨 - `Gesture_Recognizer_Pointer_Events_test_bench_UITests_Shared_Windows_UI_Input_GestureRecognizer_PointersEvents` - `NavigationView_MUXControlsTestApp_NavigationViewCustomThemeResourcesPage_MUXControlsTestApp_NavigationViewCustomThemeResourcesPage` - `TextBlock_Simple_Text_Font_Weight_Bold_Uno_UI_Samples_Content_UITests_TextBlockControl_Simple_Text_Font_Weight_Bold` - `TextBlock_Simple_Text_Uno_UI_Samples_Content_UITests_TextBlockControl_Simple_Text` - `MUX_TwoPaneView_UITests_Shared_Microsoft_UI_Xaml_Controls_TwoPaneViewTests_TwoPaneViewPage` - `RatingControl_UITests_Microsoft_UI_Xaml_Controls_RatingControlTests_RatingControlPage_UITests_Microsoft_UI_Xaml_Controls_RatingControlTests_RatingControlPage` - `Border_Simple_with_Radius_Uno_UI_Samples_UITests_BorderTestsControl_Simple_with_Radius` - `Brushes_Uno_UI_Samples_UITests_ImageBrushTestControl_ImageBrush_StreamSource_Uno_UI_Samples_UITests_ImageBrushTestControl_ImageBrush_StreamSource` - `Brushes_Uno_UI_Samples_UITests_ImageBrushTestControl_ImageBrushAlignmentXY2_Uno_UI_Samples_UITests_ImageBrushTestControl_ImageBrushAlignmentXY2` - `Icons_UITests_Microsoft_UI_Xaml_Controls_ImageIconTests_ImageIconPage_UITests_Microsoft_UI_Xaml_Controls_ImageIconTests_ImageIconPage` - `SwipeControl_MUXControlsTestApp_SwipeControlPage2_MUXControlsTestApp_SwipeControlPage2` - `Border_SimplewithNonUnifmormRadius_Uno_UI_Samples_UITests_BorderTestsControl_SimplewithNonUnifmormRadius` - `Border_Uniform_Thickness_and_Large_Radius_Uno_UI_Samples_UITests_BorderTestsControl_Uniform_Thickness_and_Large_Radius` - `Border_Uniform_Thickness_and_Small_Radius_Uno_UI_Samples_UITests_BorderTestsControl_Uniform_Thickness_and_Small_Radius` - `Brushes_GenericApp_Views_Content_UITests_ImageBrushTestControl_BorderImageBrushRelativeTransform_GenericApp_Views_Content_UITests_ImageBrushTestControl_BorderImageBrushRelativeTransform` - `ListView_ListViewSelectedItems_SamplesApp_Windows_UI_Xaml_Controls_ListView_ListViewSelectedItems` - `TabView_UITests_Microsoft_UI_Xaml_Controls_TabViewTests_TabViewPage_UITests_Microsoft_UI_Xaml_Controls_TabViewTests_TabViewPage` - `TextBlock_UITests_Shared_Windows_UI_Xaml_Controls_TextBlockControl_TextBlock_Foreground_While_Collapsed_UITests_Shared_Windows_UI_Xaml_Controls_TextBlockControl_TextBlock_Foreground_While_Collapsed` - `TextBlock_UITests_Shared_Windows_UI_Xaml_Controls_TextBlockControl_TextBlock_Layout_UITests_Shared_Windows_UI_Xaml_Controls_TextBlockControl_TextBlock_Layout` - `TextBlock_UITests_Shared_Windows_UI_Xaml_Controls_TextBlockControl_TextBlock_LineHeight_MultipleControls_UITests_Shared_Windows_UI_Xaml_Controls_TextBlockControl_TextBlock_LineHeight_MultipleControls`
* `ios`: **33** changed over 267
🚨🚨 Comparison Details (first 20) 🚨🚨 - `Screenshots_Image_Stretch_Alignment_Equal_Mode-2` - `Screenshots_Image_Stretch_Alignment_Taller_Mode-2` - `Screenshots_Image_Stretch_Alignment_Taller_Mode-3` - `ProgressRing_IsEnabled_Running_UITests_Windows_UI_Xaml_Controls_ProgressRing_WindowsProgressRing_GH1220` - `Screenshots_Image_Stretch_Alignment_Equal_Mode-3` - `Screenshots_Image_Stretch_Algmnt_Inf_Horizontal_Mode-1` - `Screenshots_Image_Stretch_Alignment_Smaller_Mode-3` - `ListView_ObservableCollection_Creation_Count_Removed_above` - `ListView_ListViewWithHeader_InitializesTest_SamplesApp_Windows_UI_Xaml_Controls_ListView_HorizontalListViewGrouped` - `Screenshots_Image_Stretch_Alignment_SizeOnControl_Mode-1` - `Screenshots_Image_Stretch_Alignment_Wider_Mode-2` - `Screenshots_Image_Stretch_Alignment_SizeOnControl_Mode-2` - `Screenshots_Image_Stretch_Alignment_Wider_Mode-3` - `Screenshots_Image_Stretch_Alignment_SizeOnControl_Mode-3` - `Screenshots_Image_Stretch_Alignment_Equal_Mode-1` - `When_SingleSelectionWithoutItemClick_Then_PointersEvents_UITests_Windows_UI_Xaml_Controls_ListView_ListView_Selection_Pointers` - `ProgressRing_Visibility_Collapsed_UITests_Windows_UI_Xaml_Controls_ProgressRing_WindowsProgressRing_GH1220` - `When_MultipleSelectionWithoutItemClick_Then_PointersEvents_UITests_Windows_UI_Xaml_Controls_ListView_ListView_Selection_Pointers` - `Screenshots_Image_Stretch_Alignment_Smaller_Mode-1` - `Screenshots_Image_Stretch_Alignment_Smaller_Mode-2`
* `ios-Snap`: **48** changed over 1057
🚨🚨 Comparison Details (first 20) 🚨🚨 - `Automation_UITests_Shared_Windows_UI_Xaml_Automation_AutomationProperties_Name_UITests_Shared_Windows_UI_Xaml_Automation_AutomationProperties_Name` - `ContentControl_ContentControl_Nested_TemplatedParent_Uno_UI_Samples_Content_UITests_ContentControlTestsControl_ContentControl_Nested_TemplatedParent` - `Brushes_Uno_UI_Samples_UITests_ImageBrushTestControl_DoubleImageBrushInList_Uno_UI_Samples_UITests_ImageBrushTestControl_DoubleImageBrushInList` - `Grid_Grid_DataBound_ColumnRow_Definitions_Uno_UI_Samples_Content_UITests_GridTestsControl_Grid_DataBound_ColumnRow_Definitions` - `ListView_ListViewGrouped_SamplesApp_Windows_UI_Xaml_Controls_ListView_ListViewGrouped` - `ColorPicker_WinUIColorPickerPage_UITests_Shared_Microsoft_UI_Xaml_Controls_ColorPickerTests_WinUIColorPickerPage` - `RelativePanel_UITests_Windows_UI_Xaml_Controls_RelativePanelTests_RelativePanel_MultipleCenterAlign_UITests_Windows_UI_Xaml_Controls_RelativePanelTests_RelativePanel_MultipleCenterAlign` - `Brushes_EllipsemaskingEllipseGrid_Uno_UI_Samples_UITests_ImageBrushTestControl_EllipsemaskingEllipseGrid` - `Brushes_Uno_UI_Samples_Samples_Shared_Content_UITests_ImageBrushInList_Uno_UI_Samples_Samples_Shared_Content_UITests_ImageBrushInList` - `Image_ImageSourceStream_Uno_UI_Samples_UITests_ImageTestsControl_ImageSourceStream` - `NavigationView_FluentStyle_NavigationViewSample_SamplesApp_Samples_Microsoft_UI_Xaml_Controls_NavigationViewTests_FluentStyle_FluentStyle_NavigationViewSample` - `NavigationView_MUXControlsTestApp_NavigationViewAnimationPage_MUXControlsTestApp_NavigationViewAnimationPage` - `NavigationView_MUXControlsTestApp_NavigationViewBlankPage1_MUXControlsTestApp_NavigationViewBlankPage1` - `Clipping_UITests_Windows_UI_Xaml_Clipping_BorderVisualClipping_UITests_Windows_UI_Xaml_Clipping_BorderVisualClipping` - `Image_Uno_UI_Samples_UITests_Image_Image_Stretch_Alignment_Bigger_Uno_UI_Samples_UITests_Image_Image_Stretch_Alignment_Bigger` - `Image_Uno_UI_Samples_UITests_Image_Image_Stretch_Alignment_Smaller_Uno_UI_Samples_UITests_Image_Image_Stretch_Alignment_Smaller` - `TextBlock_TextBlock_FixedWidth_With_DataBound_Run_Uno_UI_Samples_Content_UITests_TextBlockControl_TextBlock_FixedWidth_With_DataBound_Run` - `Default_UITests_Windows_UI_Xaml_Controls_ListView_ListView_ObservableCollection_CreationCount_UITests_Windows_UI_Xaml_Controls_ListView_ListView_ObservableCollection_CreationCount` - `ListView_HorizontalListViewGrouped_SamplesApp_Windows_UI_Xaml_Controls_ListView_HorizontalListViewGrouped` - `ListView_ListViewHeaderFooter_ImplicitlyBinded_SamplesApp_Windows_UI_Xaml_Controls_ListView_ListViewHeaderFooter_ImplicitlyBinded`
* `skia-gtk-screenshots`: **55** changed over 2220
🚨🚨 Comparison Details (first 20) 🚨🚨 - `ButtonClippingTestsControl.png-dark` - `ImageBrushWithLateSource.png` - `ToggleButton_IsEnabled_Automated.png-dark` - `ToggleButton_IsEnabled_Automated.png` - `BorderImageBrush.png` - `Buttons.png-dark` - `ImageBrushStretch.png` - `CalendarView_Theming.png-dark` - `CalendarView_Theming.png` - `Buttons.png` - `DisplayInformation.png` - `UIElement_MeasureDirtyPath.png-dark` - `UIElement_MeasureDirtyPath.png` - `ClipboardTests.png-dark` - `ClipboardTests.png` - `DisplayInformation.png-dark` - `Popup_Simple.png-dark` - `Popup_Simple.png` - `Focus_FocusVisual_Properties.png-dark` - `Focus_FocusVisual_Properties.png`
* `skia-linux-screenshots`: **56** changed over 2220
🚨🚨 Comparison Details (first 20) 🚨🚨 - `CalendarView_Theming.png-dark` - `CalendarView_Theming.png` - `Gamepad_CurrentReading.png-dark` - `Gamepad_Enumeration.png-dark` - `Gamepad_Enumeration.png` - `Examples.png` - `BorderImageBrush.png-dark` - `BorderImageBrush.png` - `DropDownButtonPage.png-dark` - `DropDownButtonPage.png` - `CompositionEffectBrush.png-dark` - `CompositionEffectBrush.png` - `ImageBrush_UniformToFill.png-dark` - `ImageBrush_UniformToFill.png` - `ImageIconPage.png-dark` - `ImageIconPage.png` - `ClipboardTests.png-dark` - `DoubleImageBrushInList.png-dark` - `DoubleImageBrushInList.png` - `Image_UseTargetSize.png-dark`
* `skia-windows-screenshots`: **74** changed over 2220
🚨🚨 Comparison Details (first 20) 🚨🚨 - `DropDownButtonPage.png-dark` - `DropDownButtonPage.png` - `DisplayInformation.png-dark` - `DisplayInformation.png` - `Focus_FocusVisual_Properties.png-dark` - `Focus_FocusVisual_Properties.png` - `ButtonClippingTestsControl.png` - `Buttons.png-dark` - `ImageBrushInList.png-dark` - `ImageBrushInList.png` - `Gamepad_Enumeration.png-dark` - `Gamepad_Enumeration.png` - `BorderImageBrushRelativeTransform.png-dark` - `ImageBrush_UniformToFill.png-dark` - `ImageBrush_UniformToFill.png` - `ImageIconPage.png-dark` - `ImageIconPage.png` - `Image_UseTargetSize.png-dark` - `Image_UseTargetSize.png` - `ButtonClippingTestsControl.png-dark`
* `wasm`: **441** changed over 1044
🚨🚨 Comparison Details (first 20) 🚨🚨 - `MUXControlsTestApp.NavigationViewMenuItemStretchPage` - `SamplesApp.Wasm.Windows_UI_Xaml_Controls.ComboBox.ComboBox_Empty` - `SamplesApp.Wasm.Windows_UI_Xaml_Media.Transform.Border_With_Off_Centre_RotateTransform` - `SamplesApp.Windows_UI_Xaml.Clipping.UIElementClipping` - `SamplesApp.Windows_UI_Xaml_Controls.ListView.ListViewGroupedEmpty` - `SamplesApp.Windows_UI_Xaml_Controls.ListView.ListViewWithinScollViewer` - `SamplesApp.Windows_UI_Xaml_Controls.PivotTests.Basics` - `SamplesApp.Windows_UI_Xaml_Shapes.PathTestsControl.PathScrollViewer` - `SamplesApp.Windows_UI_Xaml_Shapes.PolygonPage` - `SamplesApp.Windows_UI_Xaml_Shapes.PolylinePage` - `UITests.Microsoft_UI_Xaml_Controls.TabViewTests.TabViewSelectionAndScrolling` - `UITests.Microsoft_UI_Xaml_Controls.TeachingTipTests.TeachingTipBasicPage` - `UITests.Shared.Windows_UI_Xaml.FrameworkElementTests.XamlEvent_Leak` - `UITests.Shared.Windows_UI_Xaml.Localization.Localization_Implicit` - `UITests.Shared.Windows_UI_Xaml_Controls.CheckBoxTests.CheckBox_Automated` - `UITests.Shared.Windows_UI_Xaml_Controls.MediaPlayerElement.MediaPlayerElement_Minimal` - `UITests.Shared.Windows_UI_Xaml_Controls.MediaPlayerElement.MediaPlayerElement_Ogg_Extension` - `UITests.Windows_UI_Input.PointersTests.ScrollHandled` - `UITests.Windows_UI_Xaml_Controls.CommandBar.CommandBar_Native_With_TextBox` - `UITests.Windows_UI_Xaml_Controls.ScrollViewerTests.ScrollViewer_Add_Remove`
* `wasm-automated-net9.0-UWP-Default-automated`: **25** changed over 1946
🚨🚨 Comparison Details (first 20) 🚨🚨 - `Default_SamplesApp_Wasm_Windows_UI_Xaml_Controls_ListView_ListView_IsSelected_SamplesApp_Wasm_Windows_UI_Xaml_Controls_ListView_ListView_IsSelected` - `Default_StrokeThickness_MyLine` - `ListView_ListViewHeaderImage_SamplesApp_Windows_UI_Xaml_Controls_ListView_ListViewHeaderImage` - `ListView_ListViewSelectedItems_SamplesApp_Windows_UI_Xaml_Controls_ListView_ListViewSelectedItems` - `Default_Uno_UI_Samples_Content_UITests_WebView_WebView_AnchorNavigation_Uno_UI_Samples_Content_UITests_WebView_WebView_AnchorNavigation` - `ListView_SelectedItems_SamplesApp_Windows_UI_Xaml_Controls_ListView_ListViewSelectedItems` - `MediaPlayerElement_Sources_UITests_Shared_Windows_UI_Xaml_Controls_MediaPlayerElement_MediaPlayerElement_Sources` - `MediaPlayerElement_Using_3gp_UITests_Shared_Windows_UI_Xaml_Controls_MediaPlayerElement_MediaPlayerElement_3gp_Extension` - `MediaPlayerElement_Using_mp3_Audio_only_UITests_Shared_Windows_UI_Xaml_Controls_MediaPlayerElement_MediaPlayerElement_Mp3_Extension` - `MediaPlayerElement_Using_ogg_UITests_Shared_Windows_UI_Xaml_Controls_MediaPlayerElement_MediaPlayerElement_Ogg_Extension` - `Expander_WinUIExpanderPage_UITests_Shared_Microsoft_UI_Xaml_Controls_ExpanderTests_WinUIExpanderPage` - `ListView_ListView_With_ListViews_Count_Measure_UITests_Shared_Windows_UI_Xaml_Controls_ListView_ListView_With_ListViews_Count_Measure` - `Pickers_UITests_Windows_UI_Xaml_Controls_CalendarView_CalendarView_Theming_UITests_Windows_UI_Xaml_Controls_CalendarView_CalendarView_Theming` - `Default_StrokeThickness_MyPolygon` - `MediaPlayerElement_Mini_player_UITests_Shared_Windows_UI_Xaml_Controls_MediaPlayerElement_MediaPlayerElement_Minimal` - `When_NoSelectionWithItemClick_Then_PointersEvents_UITests_Windows_UI_Xaml_Controls_ListView_ListView_Selection_Pointers` - `Windows_Devices_Midi_DeviceEnumeration_UITests_Shared_Windows_Devices_Midi_MidiDeviceEnumerationTests` - `SequentialAnimations_SamplesApp_Windows_UI_Xaml_Media_Animation_SequentialAnimationsPage` - `TestProgressRing_InitialState_UITests_Microsoft_UI_Xaml_Controls_ProgressRing_WinUIProgressRing_Features` - `Simple_ContentDialog_06_Reuse_Primary_Button`
* `wasm-automated-net9.0-UWP-RuntimeTests-0`: **0** changed over 1 * `wasm-automated-net9.0-UWP-RuntimeTests-1`: **0** changed over 1 * `wasm-automated-net9.0-UWP-RuntimeTests-2`: **0** changed over 1 * `wasm-automated-net9.0-WinUI-Benchmarks-automated`: **0** changed over 1 * `wasm-automated-net9.0-WinUI-RuntimeTests-0`: **0** changed over 1 * `wasm-automated-net9.0-WinUI-RuntimeTests-1`: **0** changed over 1 * `wasm-automated-net9.0-WinUI-RuntimeTests-2`: **0** changed over 1
unodevops commented 1 week ago

🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-18813/index.html

unodevops commented 1 week ago

🤖 Your WebAssembly Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-18813/index.html