Skip to content

Port non-1xx workload manifest inputs from release/11.0.2xx - #11062

Merged
JanProvaznik merged 2 commits into
mainfrom
marcpopMSFT-port-1xx-workload-inputs-main
Nov 25, 2026
Merged

JanProvaznik merged 2 commits into
mainfrom
marcpopMSFT-port-1xx-workload-inputs-main

Conversation

@marcpopMSFT

Copy link
Copy Markdown
Member

Summary

Ports the VMR-level parts of #10249 (release/11.0.2xx) to main so future non-1xx band branches (e.g. release/12.0.2xx, which will be created from the 1xx line) don't hit the same workload BuildPass2 failures.

  • eng/Versions.props: derive DotNet1xxWorkloadManifestVersion correctly for prerelease (.final), servicing, and release 1xx SDKs, and add DotNet1xxWorkloadManifestPackageIdSuffix for prerelease-branded manifest package IDs.
  • repo-projects/sdk.proj: pass DotNet1xxWorkloadManifestPackageIdSuffix to the SDK build for non-1xx builds.
  • docs/VMR-Managing-SDK-Bands.md: document that non-1xx band initialization must add Microsoft.NET.Sdk and Microsoft.NETCore.App.Ref toolset dependencies from the chosen 1xx build. These are band-specific and intentionally not added to main.

The src/sdk changes from #10249 (Workloads/Manifests/Directory.Build.props, VSInsertion/workloads.csproj) flow through dotnet/sdk and are not included here.

Impact on main

None. All of this is gated on DotNetBuildSharedComponents != 'true', and on main MicrosoftNETSdkVersion is unset so both properties evaluate to empty, same as before.

Validation

Evaluated eng/Versions.props with sample inputs:

MicrosoftNETSdkVersion FinalVersionKind ManifestVersion IdSuffix
(unset, main) repodefault (empty) (empty)
11.0.100-rc.2.26504.105 preview 11.0.100-rc.2.final -rc.2
11.0.100-rc.2.26504.105 repodefault 11.0.100-rc.2.26504.105 -rc.2
11.0.101-servicing.26504.105 repodefault 11.0.101 (empty)
11.0.100-rtm.26504.105 release 11.0.100 (empty)

Ports the VMR-level part of #10249 so future non-1xx band branches
(e.g. release/12.0.2xx) inherit the fixed 1xx workload manifest version
and package ID suffix logic. The src/sdk parts flow through dotnet/sdk.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 164d6411-bf03-4903-8a6c-201ac3203310
@marcpopMSFT
marcpopMSFT requested review from a team as code owners November 16, 2026 23:18
Copilot AI balanced review requested due to automatic review settings November 16, 2026 23:18
@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.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Manifest version selection uses the consuming build’s branding instead of the selected 1xx producer’s, causing exact-version MSI restore to request the wrong package for preview-produced SDKs.

1 open issue
What changed in this PR

Ports the VMR-level workload input changes from #10249 to main to support future non-1xx SDK branches. SDK-side consumer changes remain separate.

Changes:

  • Updates 1xx workload manifest version derivation and adds a prerelease package ID suffix.
  • Passes the suffix into non-1xx SDK builds.
  • Documents the dependencies required to initialize a non-1xx branch.
File Description
repo-projects/​sdk.proj Forwards the manifest package ID suffix to non-1xx SDK builds.
eng/​Versions.props Derives manifest versions and prerelease package ID suffixes.
docs/​VMR-Managing-SDK-Bands.md Documents required SDK and runtime-reference dependencies from the selected 1xx build.

Review effort: Balanced

Comment thread eng/Versions.props Resolved
Co-authored-by: Copilot <[email protected]>

Copilot-Session: cda82dae-1687-4d2a-9488-fcac131d690b

@JanProvaznik JanProvaznik left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(agent-driven, on behalf of the VMR QB) LGTM. This also covers akoeplinger's ask to port #11322: main no longer derives DotNet1xxWorkloadManifestVersion, and the docs now say to set the exact manifest version the 1xx build produced (the stable x.y.100 for a GA/rtm 1xx SDK, as in #11240).

@JanProvaznik
JanProvaznik merged commit b672dd6 into main Nov 25, 2026
10 checks passed
@JanProvaznik
JanProvaznik deleted the marcpopMSFT-port-1xx-workload-inputs-main branch November 25, 2026 12:29
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.

4 participants