Skip to content

[XSG] Fix SourceGen OnPlatform default View null handling#34186

Merged
StephaneDelcroix merged 3 commits into
mainfrom
dev/stdelc/issue34074-onplatform-null-default
Feb 25, 2026
Merged

[XSG] Fix SourceGen OnPlatform default View null handling#34186
StephaneDelcroix merged 3 commits into
mainfrom
dev/stdelc/issue34074-onplatform-null-default

Fix test assertions: reference types now use default! instead of default

85cd7f9
Select commit
Loading
Failed to load commit list.
Build Analysis / Build Analysis failed Feb 25, 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.

Build Failures

maui-pr / Run Integration Tests / RunOniOS_BlazorDebug ARM64 / Install dotnet preview without workloads

[ 🚧 Report infrastructure issue] [ 📄 Report repository issue]
    ❌src/DotNet/DotNet.csproj(117,5): Error MSB3073: The command "curl -sSL "https://builds.dotnet.microsoft.com/dotnet/scripts/v1/dotnet-install.sh" -o "/Users/cloudtest/vss/_work/1/s/temp/dotnet-install.sh"" exited with code 35.
    ❌Error: The process '/opt/hostedtoolcache/dotnet/dotnet' failed with exit code 1
    ❌Dotnet command failed with non-zero exit code on the following projects : [ '/Users/cloudtest/vss/_work/1/s/src/DotNet/DotNet.csproj' ]

maui-pr / Run Integration Tests / RunOniOS_BlazorDebug ARM64 / PublishTestResults

[ 🚧 Report infrastructure issue] [ 📄 Report repository issue]
    ❌No test result files matching '[ '/Users/cloudtest/vss/_work/_temp/Microsoft.Maui.IntegrationTests/**/*.trx' ]' were found.

Test Failures (5 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_BlazorRelease [Details] [50.54% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configuration

    Exception Message
    Project Test197374d2547711816900.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] [51.21% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configuration

    Exception Message
    Project Testba11b9938111438339874.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.54% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configuration

    Exception Message
    Project Testd59ae1d9b591634862847.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.96% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configurations (2)

    Exception Message
    Project Test7f4099d0cc2953794348.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