Skip to content

VMR Source-Only Build fails: missing Microsoft.NETCoreSdk.BundledVersions.props in previously-source-built-sdk (11.0 branches) #5620

Description

@joeloff

Summary

The VMR Source-Only Build stage in Source Build Unified Build (1330) is failing on 11.0 branches during the SDK redist layout. OverlaySdkOnLKG.targets cannot find Microsoft.NETCoreSdk.BundledVersions.props inside the previously-source-built SDK layout, indicating the PSB SDK artifact consumed by these legs is incomplete/corrupt.

Error

src/sdk/src/Layout/redist/targets/OverlaySdkOnLKG.targets(57,5): error :
  Could not find a part of the path
  '/__w/_temp/previously-source-built-sdk/sdk/<version>/Microsoft.NETCoreSdk.BundledVersions.props'.
  [/__w/1/s/src/sdk/src/Layout/redist/redist.csproj]
    at Interop.ThrowExceptionForIoErrno(...)
    at System.IO.FileStream..ctor(...)
    at System.Xml.Linq.XDocument.Load(String uri, LoadOptions options)
    at Microsoft.DotNet.Build.Tasks.OverrideAndCreateBundledNETCoreAppPackageVersion.Execute()

Affected builds

Build Branch Failing leg PSB SDK version
3029859 main SB_CentOSStream10_Offline_CurrentSourceBuiltSdk_x64 11.0.100-rc.1.26373.105+f6547435...
3029532 release/11.0.1xx-preview7 SB_Fedora43_Offline_CurrentSourceBuiltSdk_x64 11.0.100-preview.7.26372.121+28277555...

Analysis

The identical signature across two different 11.0 branches (each with its own PSB SDK version) points to a broken/incomplete previously-source-built SDK artifact, not a per-branch code change. The sdk/<version>/ directory is being restored/extracted without Microsoft.NETCoreSdk.BundledVersions.props.

Suggested next steps

  • Inspect the PSB SDK artifact publish/extraction that feeds the offline CurrentSourceBuiltSdk legs for 11.0 — verify Microsoft.NETCoreSdk.BundledVersions.props is present in the produced layout.
  • Re-run the affected legs once a valid PSB SDK is available to confirm the artifact (not the build) is at fault.

Filed automatically by build-duty triage (sourcebuild-monitor config), run 2026-07-23.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-buildImprovements in source-build's own build processops-monitorIssues created/handled by the source build monitor roleuntriaged

    Type

    No type

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions