Skip to content

[ci-scan] Build break: Provision JDK fails with MSB4276 SDK resolver errors on Windows (maui-pr)Β #36196

Closed

Description

@github-actions

Summary

The Provision JDK task in the Pack Windows job fails with MSB4276 errors β€” the default MSBuild SDK resolver cannot locate the Microsoft.Build.NoTargets, Microsoft.DotNet.Arcade.Sdk, Microsoft.NET.SDK.WorkloadAutoImportPropsLocator, and Microsoft.NET.SDK.WorkloadManifestTargetsLocator Sdk directories under the Windows agent's dotnet SDK installation. This blocks the Pack stage on Windows.

Build Information

  • Pipeline: maui-pr (definition 302)
  • Build: 1476734
  • Build ID: 1476734
  • Branch: main
  • First seen: 2026-06-23
  • Occurrences: 1 in last 10 builds (infrastructure class β€” tracked as build break)

Affected Legs

  • Windows build agent β€” Provision JDK / Pack .NET MAUI stage
  • SDK version on failing agent: 10.0.100

Error Message

Errors: MSB4276: The default SDK resolver failed to resolve SDK "Microsoft.Build.NoTargets"
  because directory "C:\hostedtoolcache\windows\dotnet\sdk\10.0.100\Sdks\Microsoft.Build.NoTargets\Sdk"
  did not exist.

Errors: MSB4276: The default SDK resolver failed to resolve SDK "Microsoft.DotNet.Arcade.Sdk"
  because directory "C:\hostedtoolcache\windows\dotnet\sdk\10.0.100\Sdks\Microsoft.DotNet.Arcade.Sdk\Sdk"
  did not exist.

SDK resolver "Microsoft.DotNet.MSBuildWorkloadSdkResolver" returned null.

Recommended Action

  1. Check whether the Windows build agent (hostedtoolcache) has an incomplete .NET 10 SDK installation β€” the SDK plugin directories (Sdks/) are missing for several Arcade and workload SDKs.
  2. Compare the agent image used in build 1476734 against the current image β€” the issue may have been transient (subsequent builds 1484477 succeeded), but it could recur if the agent pool gets a bad image.
  3. If the agent images are managed via the Arcade infrastructure, confirm that the Microsoft.DotNet.Arcade.Sdk NuGet package was correctly unpacked into the SDK's Sdks/ directory on Windows agents.
  4. Consider pinning the SDK resolver restore to a known-good version or adding a pre-step to verify SDK plugin directories exist before running MSBuild tasks.

Generated by CI Failure Scanner Β· 3.4K AIC Β· βŒ– 13.7 AIC Β· ⊞ 36.2K Β· β—·

Activity

  1. PureWeen commented on Aug 10, 2026

    @PureWeen
    Member

    Closing this CI-scan tracking issue as a stale one-off infrastructure failure. The Provision JDK task/job completed cleanly with no matching MSB4276 signature in AzDO builds 1542342 and 1544323, and the signature has not recurred for roughly 45 days.

  2. locked and limited conversation to collaborators on Sep 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions