Skip to content

Fix MAUIG2045 false positive with x:Reference source in DataTemplate#34501

Merged
StephaneDelcroix merged 1 commit into
mainfrom
34490-018a
Mar 18, 2026
Merged

Fix MAUIG2045 false positive with x:Reference source in DataTemplate#34501
StephaneDelcroix merged 1 commit into
mainfrom
34490-018a

Fix MAUIG2045 false positive with x:Reference source in DataTemplate

c9f0575
Select commit
Loading
Failed to load commit list.
Build Analysis / Build Analysis succeeded Mar 17, 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.

Test Failures (6 tests failed)

🔹 [All failing tests from maui-pr]

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

    Microsoft.Maui.IntegrationTests.AppleTemplateTests.RunOniOS_BlazorDebug [Details] [50.63% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configuration

    Exception Message
    Project Test80099abbb9e1437085820.csproj failed to run. Check test output/attachments for errors.
    CallStack
       at Microsoft.Maui.IntegrationTests.AppleTemplateTests.RunOniOS(String id, String config, String framework, RuntimeVariant runtimeVariant, String trimMode) in /_/src/TestUtils/src/Microsoft.Maui.IntegrationTests/AppleTemplateTests.cs:line 154
       at Microsoft.Maui.IntegrationTests.AppleTemplateTests.RunOniOS_BlazorDebug() in /_/src/TestUtils/src/Microsoft.Maui.IntegrationTests/AppleTemplateTests.cs:line 83
       at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
       at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
    Microsoft.Maui.IntegrationTests.AppleTemplateTests.RunOniOS_BlazorRelease [Details] [50.77% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configuration

    Exception Message
    Project Test37bde5f9be01138257330.csproj failed to run. Check test output/attachments for errors.
    CallStack
       at Microsoft.Maui.IntegrationTests.AppleTemplateTests.RunOniOS(String id, String config, String framework, RuntimeVariant runtimeVariant, String trimMode) in /_/src/TestUtils/src/Microsoft.Maui.IntegrationTests/AppleTemplateTests.cs:line 154
       at Microsoft.Maui.IntegrationTests.AppleTemplateTests.RunOniOS_BlazorRelease() in /_/src/TestUtils/src/Microsoft.Maui.IntegrationTests/AppleTemplateTests.cs:line 86
       at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
       at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
    Microsoft.Maui.IntegrationTests.AppleTemplateTests.RunOniOS_MauiDebug [Details] [50.88% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configuration

    Exception Message
    Project Test9ed0ee4eaa71030262613.csproj failed to run. Check test output/attachments for errors.
    CallStack
       at Microsoft.Maui.IntegrationTests.AppleTemplateTests.RunOniOS(String id, String config, String framework, RuntimeVariant runtimeVariant, String trimMode) in /_/src/TestUtils/src/Microsoft.Maui.IntegrationTests/AppleTemplateTests.cs:line 154
       at Microsoft.Maui.IntegrationTests.AppleTemplateTests.RunOniOS_MauiDebug() in /_/src/TestUtils/src/Microsoft.Maui.IntegrationTests/AppleTemplateTests.cs:line 74
       at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
       at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
    Microsoft.Maui.IntegrationTests.AppleTemplateTests.RunOniOS_MauiNativeAOT [Details] [50.71% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configuration

    Exception Message
    Project Test455a0682ebc806899269.csproj failed to run. Check test output/attachments for errors.
    CallStack
       at Microsoft.Maui.IntegrationTests.AppleTemplateTests.RunOniOS(String id, String config, String framework, RuntimeVariant runtimeVariant, String trimMode) in /_/src/TestUtils/src/Microsoft.Maui.IntegrationTests/AppleTemplateTests.cs:line 154
       at Microsoft.Maui.IntegrationTests.AppleTemplateTests.RunOniOS_MauiNativeAOT() in /_/src/TestUtils/src/Microsoft.Maui.IntegrationTests/AppleTemplateTests.cs:line 105
       at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
       at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
    Microsoft.Maui.IntegrationTests.AppleTemplateTests.RunOniOS_MauiReleaseTrimFull [Details] [50.76% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configurations (2)

    Exception Message
    Project Testb7dc68d2a23393923862.csproj failed to run. Check test output/attachments for errors.
    CallStack
       at Microsoft.Maui.IntegrationTests.AppleTemplateTests.RunOniOS(String id, String config, String framework, RuntimeVariant runtimeVariant, String trimMode) in /_/src/TestUtils/src/Microsoft.Maui.IntegrationTests/AppleTemplateTests.cs:line 154
       at Microsoft.Maui.IntegrationTests.AppleTemplateTests.RunOniOS_MauiReleaseTrimFull() in /_/src/TestUtils/src/Microsoft.Maui.IntegrationTests/AppleTemplateTests.cs:line 80
       at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
       at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

Was this helpful? Yes No