Skip to content

[Windows][net11] Make Layout AutomationPeer public + opt-in for screen reader tree#35597

Open
Redth wants to merge 3 commits into
net11.0from
redth/contentview-automation
Open

[Windows][net11] Make Layout AutomationPeer public + opt-in for screen reader tree#35597
Redth wants to merge 3 commits into
net11.0from
redth/contentview-automation

Addressed concerns.

75fd0bb
Select commit
Loading
Failed to load commit list.
Build Analysis / Build Analysis failed Jun 24, 2026 in 0s

.NET Result Analysis

Details

Tip

To unconditionally bypass the build analysis check (turn it green), you can use the escape mechanism feature. The completion time may vary, potentially taking several minutes, depending on the build analysis workload at the moment.

Known Infrastructure Errors

Build Failures

maui-pr-uitests / Android UITests CoreClr / Controls (API 30) / Controls (API 30) CollectionView / Controls (API 30) CollectionView

[ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]
    ❌PowerShell exited with code '1'.

maui-pr-uitests / Android UITests CoreClr / Controls (API 30) / Controls (API 30) CollectionView / Publish the android_ui_tests_controls_30 test results

[ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]
    ❌There are one or more test failures detected in result files. Detailed summary of published test results can be viewed in the Tests tab.

maui-pr-uitests / Android UITests CoreClr / Controls (API 30) / Controls (API 30) SafeAreaEdges,Shadow / Controls (API 30) SafeAreaEdges,Shadow

[ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]
    ❌PowerShell exited with code '1'.

12 other jobs are failing and were not displayed due to space limitations.
Builds with failures: [maui-pr-uitests] [maui-pr] [maui-pr-devicetests]

Test Failures (115 tests failed)

🔹 [All failing tests from maui-pr]

    ⚠️ 15 failing tests not displayed for this pipeline due to space limitations

    Microsoft.Maui.IntegrationTests.AOTTemplateTest.PublishNativeAOT(id: "maui", framework: "net11.0-ios", runtimeIdentifier: "ios-arm64") [Details] [18.95% failure rate]
    [ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]

    Failing Configurations (2)

    Exception Message
    Unexpected warning files detected! Unexpected warning file paths are: /Users/cloudtest/vss/_work/_temp/test-dir/Test76812dfe0841521492329/obj/Release/net11.0-ios/ios-arm64/linker-cache/apply-preserve-attribute.xml
    CallStack
       at Microsoft.Maui.IntegrationTests.BuildWarningsUtilities.AssertWarnings(List`1 actualWarnings, List`1 expectedWarnings) in /_/src/TestUtils/src/Microsoft.Maui.IntegrationTests/Utilities/BuildWarningsUtilities.cs:line 163
       at Microsoft.Maui.IntegrationTests.AOTTemplateTest.PublishNativeAOT(String id, String framework, String runtimeIdentifier) in /_/src/TestUtils/src/Microsoft.Maui.IntegrationTests/AOTTemplateTest.cs:line 62
       at InvokeStub_AOTTemplateTest.PublishNativeAOT(Object, Span`1)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    Microsoft.Maui.IntegrationTests.AOTTemplateTest.PublishNativeAOT(id: "maui", framework: "net11.0-ios", runtimeIdentifier: "iossimulator-arm64") [Details] [18.91% failure rate]
    [ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]

    Failing Configurations (2)

    Exception Message
    Unexpected warning files detected! Unexpected warning file paths are: /Users/cloudtest/vss/_work/_temp/test-dir/Testd808da5b47e2068235863/obj/Release/net11.0-ios/iossimulator-arm64/linker-cache/apply-preserve-attribute.xml
    CallStack
       at Microsoft.Maui.IntegrationTests.BuildWarningsUtilities.AssertWarnings(List`1 actualWarnings, List`1 expectedWarnings) in /_/src/TestUtils/src/Microsoft.Maui.IntegrationTests/Utilities/BuildWarningsUtilities.cs:line 163
       at Microsoft.Maui.IntegrationTests.AOTTemplateTest.PublishNativeAOT(String id, String framework, String runtimeIdentifier) in /_/src/TestUtils/src/Microsoft.Maui.IntegrationTests/AOTTemplateTest.cs:line 62
       at InvokeStub_AOTTemplateTest.PublishNativeAOT(Object, Span`1)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    Microsoft.Maui.IntegrationTests.AOTTemplateTest.PublishNativeAOT(id: "maui", framework: "net11.0-ios", runtimeIdentifier: "iossimulator-x64") [Details] [18.90% failure rate]
    [ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]

    Failing Configurations (2)

    Exception Message
    Unexpected warning files detected! Unexpected warning file paths are: /Users/cloudtest/vss/_work/_temp/test-dir/Test4e419fec28e898518620/obj/Release/net11.0-ios/iossimulator-x64/linker-cache/apply-preserve-attribute.xml
    CallStack
       at Microsoft.Maui.IntegrationTests.BuildWarningsUtilities.AssertWarnings(List`1 actualWarnings, List`1 expectedWarnings) in /_/src/TestUtils/src/Microsoft.Maui.IntegrationTests/Utilities/BuildWarningsUtilities.cs:line 163
       at Microsoft.Maui.IntegrationTests.AOTTemplateTest.PublishNativeAOT(String id, String framework, String runtimeIdentifier) in /_/src/TestUtils/src/Microsoft.Maui.IntegrationTests/AOTTemplateTest.cs:line 62
       at InvokeStub_AOTTemplateTest.PublishNativeAOT(Object, Span`1)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    Microsoft.Maui.IntegrationTests.AOTTemplateTest.PublishNativeAOT(id: "maui", framework: "net11.0-maccatalyst", runtimeIdentifier: "maccatalyst-arm64") [Details] [18.89% failure rate]
    [ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]

    Failing Configurations (2)

    Exception Message
    Unexpected warning files detected! Unexpected warning file paths are: /Users/cloudtest/vss/_work/_temp/test-dir/Test64ad7a48042605381881/obj/Release/net11.0-maccatalyst/maccatalyst-arm64/linker-cache/apply-preserve-attribute.xml
    CallStack
       at Microsoft.Maui.IntegrationTests.BuildWarningsUtilities.AssertWarnings(List`1 actualWarnings, List`1 expectedWarnings) in /_/src/TestUtils/src/Microsoft.Maui.IntegrationTests/Utilities/BuildWarningsUtilities.cs:line 163
       at Microsoft.Maui.IntegrationTests.AOTTemplateTest.PublishNativeAOT(String id, String framework, String runtimeIdentifier) in /_/src/TestUtils/src/Microsoft.Maui.IntegrationTests/AOTTemplateTest.cs:line 62
       at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
       at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
    Microsoft.Maui.IntegrationTests.AOTTemplateTest.PublishNativeAOT(id: "maui", framework: "net11.0-maccatalyst", runtimeIdentifier: "maccatalyst-x64") [Details] [18.93% failure rate]
    [ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]

    Failing Configurations (2)

    Exception Message
    Unexpected warning files detected! Unexpected warning file paths are: /Users/cloudtest/vss/_work/_temp/test-dir/Test7eb2621d1ca1534530257/obj/Release/net11.0-maccatalyst/maccatalyst-x64/linker-cache/apply-preserve-attribute.xml
    CallStack
       at Microsoft.Maui.IntegrationTests.BuildWarningsUtilities.AssertWarnings(List`1 actualWarnings, List`1 expectedWarnings) in /_/src/TestUtils/src/Microsoft.Maui.IntegrationTests/Utilities/BuildWarningsUtilities.cs:line 163
       at Microsoft.Maui.IntegrationTests.AOTTemplateTest.PublishNativeAOT(String id, String framework, String runtimeIdentifier) in /_/src/TestUtils/src/Microsoft.Maui.IntegrationTests/AOTTemplateTest.cs:line 62
       at InvokeStub_AOTTemplateTest.PublishNativeAOT(Object, Span`1)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

🔹 [All failing tests from maui-pr-uitests]

    ⚠️ 95 failing tests not displayed for this pipeline due to space limitations

Was this helpful? Yes No