Skip to content

Bump src/arcade framework defaults to net12.0 - #9722

Closed
wtgodbe wants to merge 9 commits into
mainfrom
wtgodbe/arcade-net12
Closed

wtgodbe wants to merge 9 commits into
mainfrom
wtgodbe/arcade-net12

Conversation

@wtgodbe

@wtgodbe wtgodbe commented Sep 24, 2026 •

Copy link
Copy Markdown
Member

Summary

Port the working framework transition from dotnet/arcade#17621, revision ef5f6d4e6a01fccf9f9006d5bdbffc8e6ec7737c, into src/arcade.

  • Set NetCurrent=net12.0, NetPrevious=net11.0, and retain NetMinimum=net10.0, preserving the source-only alias remapping.
  • Keep the temporary in-tree framework-defaults import while the bootstrap Arcade package still declares the older defaults.
  • Move the shared Helix xUnit publish default to net12.0 while keeping Arcade's own tests published for their bundled-SDK framework.
  • Retain explicit net11.0 package validation and document framework aliases without hardcoded version examples.

All six files changed by the standalone Arcade PR match its working revision byte-for-byte.

VMR bootstrap integration

  • Merged VMR main at 377e22af8de.
  • Ported the prerequisite dotnet/arcade#17627, which has not yet source-flowed into VMR main. Its shared targeting-pack implementation uses the bundled SDK as the baseline, adjusts the maximum supported framework, and enables nearest-framework pruning for downstream consumers.
  • Removed the repository-local compatibility overrides from src/arcade/Directory.Build.props, matching the standalone PR.
  • Preserved the required compatibility arguments in repo-projects/arcade.proj for bootstrap SDKs whose maximum supported framework is below 12.0. These arguments apply only to Arcade's build/test invocation, not all downstream repositories.

The VMR builds Arcade itself with the bootstrap Arcade package and supplies its freshly built SDK to downstream repositories. Updating the constituent's checked-in package pin alone would not change that bootstrap selection.

No .NET SDK, bootstrap Arcade, PSB archive, or dependency-provenance pins are changed by this PR. This is not a rebootstrap.

Validation

  • Verified exact parity with the six Arcade PR files and the shared compatibility implementation from Refactor targeting pack properties for unknown frameworks arcade#17627.
  • Evaluated VMR orchestration in normal and source-only modes, confirming the bootstrap arguments are emitted only for SDKs below the new target.
  • Temporarily applied the same constituent global.json bootstrap pin rewrite used by VMR orchestration, then restored the file unchanged. Built and packed all three xUnit runner TFMs and the updated Arcade SDK using bootstrap Arcade 11.0.0-beta.26420.103 and .NET SDK 11.0.100-rc.1.26420.103.
  • Verified the resulting SDK package contains the actual updated framework defaults and targeting-pack compatibility files.
  • Used an isolated package cache to restore and build a net12.0 consumer of that locally produced SDK on .NET 11, without passing compatibility overrides.
  • Evaluated the consumer in source-only mode and the produced SDK's source-only toolset/Build.proj, confirming the net11.0 baseline, maximum version 12.0, and pruning fallback.
  • git diff --check passed; SDK pins and dependency-provenance files are unchanged relative to main.

Local bootstrap execution used the Microsoft-published Arcade package, not a PSB archive. Source-only checks covered evaluation, not a complete Linux source-build, offline rebuild, or poison validation. Full VMR and source-build execution remain for CI.

Mirror the Arcade-only net12.0 transition, with NetPrevious=net11.0 and NetMinimum=net10.0. Leave other repositories and the VMR root SDK unchanged for subsequent CI-driven follow-ups.

Co-authored-by: Copilot <[email protected]>
@dotnet-policy-service
dotnet-policy-service Bot requested a review from a team September 24, 2026 20:28
@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.

Align the root global.json SDK and tool pins with src/arcade, following the previous full-stack framework bump.

Co-authored-by: Copilot <[email protected]>
Restore the original VMR and Arcade SDK pins. Mirror Arcade's temporary targeting-limit override, source-only pack baseline, and existing nearest-framework pruning fallback.

Co-authored-by: Copilot <[email protected]>
@wtgodbe

wtgodbe commented Sep 24, 2026

Copy link
Copy Markdown
Member Author

Going to wait until a rebootstrap PR w/ net12.0 is available (should be next week)

@wtgodbe

wtgodbe commented Sep 29, 2026

Copy link
Copy Markdown
Member Author

Needs #9826

Will Godbe and others added 6 commits September 29, 2026 11:49
Include the shared targeting-pack baseline, SDK maximum-version adjustment, and pruning fallback needed by downstream net12.0 consumers.

Co-authored-by: Copilot <[email protected]>
Match dotnet/arcade#17621 and move the old-bootstrap targeting settings into Arcade's VMR invocation. Leave .NET SDK and PSB inputs unchanged.

Co-authored-by: Copilot <[email protected]>
Mirror dotnet/arcade#17621 so Arcade's own tests publish for their bundled-SDK framework when the shared default advances to net12.0.

Co-authored-by: Copilot <[email protected]>
Clone the baseline Microsoft.AspNetCore.App framework metadata alongside Microsoft.NETCore.App. Check each framework identity separately so existing entries neither suppress other frameworks nor get duplicated.

Co-authored-by: Copilot <[email protected]>
@wtgodbe wtgodbe closed this Oct 19, 2026
@akoeplinger
akoeplinger deleted the wtgodbe/arcade-net12 branch October 27, 2026 14:50
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.

1 participant