Skip to content

Use dotnet cake for SDK provisioning to fix workload resolver issues - #35264

Closed
PureWeen wants to merge 1 commit into
net11.0from
fix/workload-provisioning-improvements
Closed

Use dotnet cake for SDK provisioning to fix workload resolver issues#35264
PureWeen wants to merge 1 commit into
net11.0from
fix/workload-provisioning-improvements

Use dotnet cake for SDK provisioning to fix workload resolver issues

c6758b9
Select commit
Loading
Failed to load commit list.
Build Analysis / Build Analysis failed Apr 30, 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 / Build .NET MAUI / Build Windows (Release) / 🛠️ Build Microsoft.Maui.sln

[ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]
    ❌src\Essentials\src\Map\Map.ios.watchos.macos.cs(29,20): error CA1416: This call site is reachable on: 'MacCatalyst' 17.0 and later. 'MKPlacemark' is unsupported on: 'maccatalyst' 26.0 and later (Use 'MKMapItem.Location', 'MKMapItem.Address' and 'MKMapItem.AddressRepresentations' instead, and MKAddressRepresentations for formatted address strings.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
    ❌src\Essentials\src\MediaPicker\MediaPicker.ios.cs(635,21): error CA1416: This call site is reachable on: 'MacCatalyst' 17.0 and later. 'UIGraphics.GetImageFromCurrentImageContext()' is unsupported on: 'maccatalyst' 17.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
    ❌src\Essentials\src\MediaPicker\MediaPicker.ios.cs(636,6): error CA1416: This call site is reachable on: 'MacCatalyst' 17.0 and later. 'UIGraphics.EndImageContext()' is unsupported on: 'maccatalyst' 17.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)

maui-pr / Build .NET MAUI / Build macOS (Debug) / 🛠️ Build Microsoft.Maui.sln

[ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]
    ❌src/Graphics/src/Graphics/Platforms/iOS/UIImageExtensions.cs(59,4): error CA1416: This call site is reachable on: 'MacCatalyst' 17.0 and later. 'UIGraphics.EndImageContext()' is unsupported on: 'maccatalyst' 17.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
    ❌src/Graphics/src/Graphics/Platforms/iOS/UIImageExtensions.cs(56,4): error CA1416: This call site is reachable on: 'MacCatalyst' 17.0 and later. 'UIGraphics.BeginImageContext(CGSize)' is unsupported on: 'maccatalyst' 17.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
    ❌src/Graphics/src/Graphics/Platforms/iOS/UIImageExtensions.cs(58,16): error CA1416: This call site is reachable on: 'MacCatalyst' 17.0 and later. 'UIGraphics.GetImageFromCurrentImageContext()' is unsupported on: 'maccatalyst' 17.0 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)

Test Failures (5 tests failed)

🔹 [All failing tests from maui-pr]

    Microsoft.Maui.IntegrationTests.AppleTemplateTests.RunOniOS_BlazorRelease_CoreCLR [Details] [25.81% failure rate]
    [ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]

    Failing Configuration

    Exception Message
    Project Test2500fdb61bd515331430.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 174
       at Microsoft.Maui.IntegrationTests.AppleTemplateTests.RunOniOS_BlazorRelease_CoreCLR() in /_/src/TestUtils/src/Microsoft.Maui.IntegrationTests/AppleTemplateTests.cs:line 102
       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_CoreCLR [Details] [51.78% failure rate]
    [ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]

    Failing Configuration

    Exception Message
    Project Test1a814812f3b955649367.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 174
       at Microsoft.Maui.IntegrationTests.AppleTemplateTests.RunOniOS_MauiDebug_CoreCLR() in /_/src/TestUtils/src/Microsoft.Maui.IntegrationTests/AppleTemplateTests.cs:line 90
       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] [25.35% failure rate]
    [ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]

    Failing Configuration

    Exception Message
    Project Testae259aaa1bf1661297798.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 174
       at Microsoft.Maui.IntegrationTests.AppleTemplateTests.RunOniOS_MauiNativeAOT() in /_/src/TestUtils/src/Microsoft.Maui.IntegrationTests/AppleTemplateTests.cs:line 121
       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] [23.30% failure rate]
    [ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]

    Failing Configuration

    Exception Message
    Project Test2a7fe6e05c2598863935.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 174
       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)
    Microsoft.Maui.IntegrationTests.AppleTemplateTests.RunOniOS_MauiReleaseTrimFull_CoreCLR [Details] [27.73% failure rate]
    [ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]

    Failing Configuration

    Exception Message
    Project Testaf3451394831226320579.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 174
       at Microsoft.Maui.IntegrationTests.AppleTemplateTests.RunOniOS_MauiReleaseTrimFull_CoreCLR() in /_/src/TestUtils/src/Microsoft.Maui.IntegrationTests/AppleTemplateTests.cs:line 96
       at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
       at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

Was this helpful? Yes No