Skip to content

[main] Source code updates from dotnet/sdk - #9906

Merged
JulieLeeMSFT merged 8 commits into
mainfrom
darc-main-5b20c897-34f8-4b62-84fe-b4c6c3d1e222
Oct 5, 2026
Merged

JulieLeeMSFT merged 8 commits into
mainfrom
darc-main-5b20c897-34f8-4b62-84fe-b4c6c3d1e222

Conversation

@dotnet-maestro

@dotnet-maestro dotnet-maestro Bot commented Oct 2, 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:590b0970fe66407ef532b7c95335a0ac4d08f1ab..https://github.com/dotnet/dotnet:darc-main-5b20c897-34f8-4b62-84fe-b4c6c3d1e222

@dotnet-maestro

dotnet-maestro Bot commented Oct 2, 2026

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.

@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 October 2, 2026 02:11
@dotnet-maestro

dotnet-maestro Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor Author

Note

This pull request was not automatically approved because the following files did not match the source diff:

  • Directory.Build.props
  • Directory.Build.targets
  • documentation/general/UpdateToNewTargetFramework.md
  • src/Layout/redist/targets/BundledTemplates.targets

Automatic approval requires either file changes to match between the repo and the VMR or the destination file to fully match the source file in content
The files listed above met neither condition.

Please manually review these files to ensure their changes are expected before merging this pull request.

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

@JulieLeeMSFT

Copy link
Copy Markdown
Member

@dsplaisted, @dotnet/dotnet-cli, please check the build failure.

/__w/1/s/eng/finish-source-only.proj(141,5): error : Prebuilt packages are not allowed in source-only builds.
/__w/1/s/eng/finish-source-only.proj(141,5): error : 
/__w/1/s/eng/finish-source-only.proj(141,5): error : Detected 3 prebuilt package(s):
/__w/1/s/eng/finish-source-only.proj(141,5): error :   - Microsoft.DotNet.Web.ItemTemplates.11.0.11.0.0-rc.1.26453.118
/__w/1/s/eng/finish-source-only.proj(141,5): error :   - Microsoft.DotNet.Web.ProjectTemplates.11.0.11.0.0-rc.1.26453.118
/__w/1/s/eng/finish-source-only.proj(141,5): error :   - Microsoft.McpServer.ProjectTemplates.11.0.11.0.0-rc.1.26453.118

@dotnet-maestro

dotnet-maestro Bot commented Oct 3, 2026

Copy link
Copy Markdown
Contributor Author

@dotnet-maestro

dotnet-maestro Bot commented Oct 3, 2026

Copy link
Copy Markdown
Contributor Author

Note

This pull request was not automatically approved because the following files did not match the source diff:

  • Directory.Build.props
  • Directory.Build.targets
  • documentation/general/UpdateToNewTargetFramework.md
  • eng/Versions.props
  • src/Containers/Microsoft.NET.Build.Containers/PublicAPI/net12.0/PublicAPI.Unshipped.txt
  • src/Layout/redist/targets/BundledTemplates.targets

Automatic approval requires either file changes to match between the repo and the VMR or the destination file to fully match the source file in content
The files listed above met neither condition.

Please manually review these files to ensure their changes are expected before merging this pull request.

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

@dotnet-maestro

dotnet-maestro Bot commented Oct 5, 2026

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

dotnet-maestro Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor Author

Note

This pull request was not automatically approved because the following files did not match the source diff:

  • Directory.Build.props
  • Directory.Build.targets
  • documentation/general/UpdateToNewTargetFramework.md
  • eng/Versions.props
  • src/Containers/Microsoft.NET.Build.Containers/PublicAPI/net12.0/PublicAPI.Unshipped.txt
  • src/Layout/redist/targets/BundledTemplates.targets

Automatic approval requires either file changes to match between the repo and the VMR or the destination file to fully match the source file in content
The files listed above met neither condition.

Please manually review these files to ensure their changes are expected before merging this pull request.

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

@mthalman

mthalman commented Oct 5, 2026

Copy link
Copy Markdown
Member

@copilot - Investigate the source-build prebuilts.

Copilot AI commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

@copilot - Investigate the source-build prebuilts.

The three flagged packages are the SDK’s bundled ASP.NET template downloads: BundledTemplates.targets restores .11.0 IDs at 11.0.0-rc.1.26453.118 (from ManualVersions.props). The VMR’s ASP.NET Core sources and package versions are already at 12.0.0-alpha.1.26473.114, so that source build cannot satisfy those exact older package identities. repo-projects/sdk.proj explicitly preserves the ASP.NET internal feed to obtain these “text-only prebuilt[s]”; finish-source-only.proj still counts them as prebuilts and fails. This is an intentional net11-template/net12-source mismatch, not evidence of a binary leak introduced by this codeflow. I did not change files: removing the failure safely requires either source-building equivalent net11 template packages or an approved narrow policy for these content-only packages. The CI artifact’s prebuilt-usage.xml is needed to confirm the exact consuming project/usages before choosing a fix.

Copilot AI requested a review from mthalman October 5, 2026 13:00
@mthalman

mthalman commented Oct 5, 2026

Copy link
Copy Markdown
Member

@copilot — Retain .NET 11 support and fix the three template prebuilts using the existing text-only package mechanism in dotnet/source-build-assets, rather than switching the SDK to .NET 12 templates or exempting these packages from prebuilt detection.

Add text-only package sources and packaging projects for these exact identities, all at version 11.0.0-rc.1.26453.118:

  • Microsoft.DotNet.Web.ItemTemplates.11.0
  • Microsoft.DotNet.Web.ProjectTemplates.11.0
  • Microsoft.McpServer.ProjectTemplates.11.0

@mthalman

mthalman commented Oct 5, 2026

Copy link
Copy Markdown
Member

@copilot — Retain .NET 11 support and fix the three template prebuilts using the existing text-only package mechanism in dotnet/source-build-assets, rather than switching the SDK to .NET 12 templates or exempting these packages from prebuilt detection.

Add text-only package sources and packaging projects for these exact identities, all at version 11.0.0-rc.1.26453.118:

  • Microsoft.DotNet.Web.ItemTemplates.11.0
  • Microsoft.DotNet.Web.ProjectTemplates.11.0
  • Microsoft.McpServer.ProjectTemplates.11.0

@dotnet-policy-service
dotnet-policy-service Bot requested a review from a team October 5, 2026 15:12

Copilot AI commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

@copilot — Retain .NET 11 support and fix the three template prebuilts using the existing text-only package mechanism in dotnet/source-build-assets, rather than s...

Added source-build-assets text-only sources and packaging projects for all three exact .NET 11 package identities in e17f2492a. All three packages build and match their original payloads; focused regeneration tests pass.

@copilot — Retain .NET 11 support and fix the three template prebuilts using the existing text-only package mechanism in dotnet/source-build-assets, rather than switching the SDK to .NET 12 te...

Added source-build-assets text-only sources and packaging projects for all three exact .NET 11 package identities in e17f2492a. All three packages build and match their original payloads; focused regeneration tests pass.

@mthalman

mthalman commented Oct 5, 2026

Copy link
Copy Markdown
Member

@copilot — Update eng/allowed-sb-binaries.txt to preserve any .db file under source-build-assets’ textOnlyPackages tree:

src/source-build-assets/src/textOnlyPackages/**/*.db

Copilot AI requested a review from a team as a code owner October 5, 2026 15:42

Copilot AI commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

@copilot — Update eng/allowed-sb-binaries.txt to preserve any .db file under source-build-assets’ textOnlyPackages tree:

...

Added the scoped database allowance in commit 0d67b4087.

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.

3 participants