Skip to content

[release/11.0.1xx-rc2] Source code updates from dotnet/sdk - #9622

Merged
nagilson merged 8 commits into
release/11.0.1xx-rc2from
darc-release/11.0.1xx-rc2-b5af32d5-a4a6-45e5-9588-34836ea82819
Sep 24, 2026
Merged

nagilson merged 8 commits into
release/11.0.1xx-rc2from
darc-release/11.0.1xx-rc2-b5af32d5-a4a6-45e5-9588-34836ea82819

Conversation

@dotnet-maestro

@dotnet-maestro dotnet-maestro Bot commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor

Note

This is a codeflow update. It may contain both source code changes from
the source repo
as well as dependency updates. Learn more here.

This pull request brings the following source code changes

From https://github.com/dotnet/sdk

Diff the source with this PR branch
darc vmr diff --name-only https://github.com/dotnet/sdk:1b4f78271a6ab620c96bd2fdf41e155dc2099552..https://github.com/dotnet/dotnet:darc-release/11.0.1xx-rc2-b5af32d5-a4a6-45e5-9588-34836ea82819

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
1 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@dotnet-policy-service
dotnet-policy-service Bot requested a review from a team September 22, 2026 13:50
@JulieLeeMSFT

Copy link
Copy Markdown
Member

@dotnet/dotnet-cli, please check build failures.

  • SDK ProjectData package files missing.
    error MSB3030: Could not copy the file "/__w/1/s/src/sdk/artifacts/.packages/microsoft.net.projectdata.tasks/5.12.0-ci/lib/netstandard2.0/Microsoft.NET.ProjectData.Schema.props" because it was not found.
  • error NU1102: Unable to find package runtime.linux-x64.Microsoft.NETCore.Runtime.Wasm.Node.Transport with version (>= 11.0.0-alpha.1.26469.1).

@mmitche

mmitche commented Sep 22, 2026

Copy link
Copy Markdown
Member

CI failure analysis

The failures in build 1607240 reduce to one source-build packaging regression, not a flaky test or infrastructure failure. The failing leg is SB_CentOSStream10_Online_MsftSdk_x64. Other executed build/validation jobs passed; the overall pipeline and Maestro failures are downstream consequences.

Root cause

This update brings in dotnet/sdk#56243, which bundles Roslyn's ProjectData tasks into the SDK. The new tool_projectdata.csproj hardcodes lib/netstandard2.0 when copying:

  • Microsoft.NET.ProjectData.targets
  • Microsoft.NET.ProjectData.Schema.props

However, Roslyn's ProjectData tasks project changes its target framework for source-build and packages these files under lib/$(TargetFramework).

Inspection of the actual Microsoft.NET.ProjectData.Tasks.5.12.0-ci.nupkg from this build's SB_CentOSStream10_Online_MsftSdk_x64_Artifacts_Attempt1 artifact confirms that both files are present under lib/net11.0/, not lib/netstandard2.0/.

Restore succeeds, but SDK layout publishing fails with MSB3030 while copying from the hardcoded directory. The outer MSB3073 is the propagated SDK build failure, not a separate issue.

Recommended fix

In tool_projectdata.csproj, select the package-content framework conditionally: netstandard2.0 for regular builds and $(SdkTargetFramework) when DotNetBuildSourceOnly=true. Use that property in both content paths, preserving regular builds while matching the source-built package layout.

Build 1607240 tested PR head 4fe6c20 through merge SHA 2851bb0; it is the only PR build found. Build Analysis reported no known-issue match. Retrying unchanged code will not resolve this path mismatch.

@JoeRobich

Copy link
Copy Markdown
Member

Lets cherry-pick this fix over from the other insertions 2316d55

Don't hard-code the TFM as the project's TFM will change over time.
@JulieLeeMSFT

JulieLeeMSFT commented Sep 23, 2026 •

Copy link
Copy Markdown
Member

Lets cherry-pick this fix over from the other insertio

@JoeRobich, the build failed:

eng/finish-source-only.proj(141,5): error : Prebuilt packages are not allowed in source-only builds.

Detected 6 prebuilt package(s):
  - Microsoft.Extensions.Configuration.EnvironmentVariables.10.0.0
  - OpenTelemetry.Api.ProviderBuilderExtensions.1.18.0
  - OpenTelemetry.Api.1.18.0
  - OpenTelemetry.Exporter.InMemory.1.18.0
  - OpenTelemetry.Exporter.OpenTelemetryProtocol.1.18.0
  - OpenTelemetry.1.18.0

For detailed usage information, see: /__w/1/s/artifacts/log/Release/prebuilt-annotated-usage.xml

See https://aka.ms/dotnet/prebuilts for guidance on what prebuilts are and how to eliminate them.

@JoeRobich

JoeRobich commented Sep 23, 2026 •

Copy link
Copy Markdown
Member

@dotnet-maestro

Copy link
Copy Markdown
Contributor Author

Note

PRs from original repository included in this codeflow update:

💡 You may consult the FAQ for more information or tag @dotnet/prodconsvcs for assistance.

@dotnet-maestro

Copy link
Copy Markdown
Contributor Author

Note

PRs from original repository included in this codeflow update:

💡 You may consult the FAQ for more information or tag @dotnet/prodconsvcs for assistance.

@mmitche

mmitche commented Sep 24, 2026

Copy link
Copy Markdown
Member

@marcpopMSFT @mthalman

@mthalman

Copy link
Copy Markdown
Member

@nagilson - Can you port over the changes from dotnet/source-build-assets#1803 to this PR?

Port the source-build settings, reference package, and vendored OpenTelemetry sources; update VMR source provenance.

Co-authored-by: Copilot App <[email protected]>
@dotnet-policy-service
dotnet-policy-service Bot requested a review from a team September 24, 2026 17:16
@nagilson
nagilson enabled auto-merge September 24, 2026 18:38
@nagilson
nagilson merged commit c362780 into release/11.0.1xx-rc2 Sep 24, 2026
15 of 16 checks passed
@nagilson
nagilson deleted the darc-release/11.0.1xx-rc2-b5af32d5-a4a6-45e5-9588-34836ea82819 branch September 24, 2026 19:45
This was referenced Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants