Repository navigation
Conversation
Set NetPrevious to net11.0 and retain NetMinimum at net10.0. Align the bootstrap defaults, SDK pin, package validation and Helix publish target for the initial Arcade-only transition. Co-authored-by: Copilot <[email protected]>
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
The pinned SDK cannot restore projects targeting net12.0, blocking repository builds.
Get a fresh assessment by requesting another Copilot review.
Review effort: Lite
Findings: 1
Open (1)
What changed in this PR
Starts Arcade’s .NET 12 transition by updating framework defaults, SDK pinning, Helix publishing, package validation, and documentation.
Changes:
- Sets current and previous frameworks to
net12.0andnet11.0. - Pins the .NET SDK and imports in-tree framework defaults during bootstrapping.
- Updates Helix publishing and package-validation targets.
| File | Summary |
|---|---|
src/Microsoft.DotNet.Helix/Sdk/tools/xunit-runner/XUnitRunner.targets |
Defaults Helix publishing to .NET 12. |
src/Microsoft.DotNet.Build.Tasks.Packaging/src/build/Packaging.targets |
Adds explicit .NET 11 package validation. |
src/Microsoft.DotNet.Arcade.Sdk/tools/TargetFrameworkDefaults.props |
Updates framework defaults. |
global.json |
Pins the SDK; the selected SDK lacks .NET 12 targeting support, causing restore failures. Critical (4 votes). |
Documentation/ArcadeSdk.md |
Documents updated framework behavior; one clarification nit remains. Nit (1 vote). |
Directory.Build.props |
Imports in-tree framework defaults during bootstrapping. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| { | ||
| "sdk": { | ||
| "version": "11.0.100-rc.1.26420.103", | ||
| "version": "12.0.100-alpha.1.26473.114", |
Restore the original SDK pin and reuse Arcade's existing targeting-pack mapping. Raise the temporary targeting limit, retain a downlevel source-only baseline, and use the SDK's nearest-framework pruning data. Co-authored-by: Copilot <[email protected]>
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Scope pruning fallback to net12.0; the current global setting can alter dependency graphs for other target frameworks.
Get a fresh assessment by requesting another Copilot review.
Review effort: Lite
Findings: 2
|
Going to wait until a rebootstrap PR w/ |
There was a problem hiding this comment.
Avoid hardcoded values in ArcadeSdk.md so that we don't need to rev it constantly. I think this change should be done in the VMR otherwise the arcade -> vmr codeflow will be blocked for quite some time. I expect a ton of reactions will be necessary.
Going to wait until a rebootstrap PR w/ net12.0 is available (should be next week)
Why? The Arcade SDK already automatically enables targeting a newer TFM when using these TFM properties.
I've got draft PRs in both places, to make sure all Arcade tests pass + the VMR works: dotnet/dotnet#9722. Once this PR is working, I'm planning on doing the rest of the work in the VMR PR.
One issue is that Arcade doesn’t override Also, because this is an LTS version, net12.0 FrameworkReferences instead of copying the net11.0 ones in SourceBuild: I could keep iterating to get things working, but I figured it'd be easier to just wait for a bootstrap SDK |
Ah right, good find. That is unrelated to LTS vs STS. Sourcebuild now sets those floating TFM properties to latest always. I just didn't think about that back when I added the TargetingPacks.BeforeCommonTargets.targets file. So probably just needs another condition for source-build. I think this can be simplified further given that the SDK exposes the With that, we don't need to customize anything for source-build. So |
Another good find. Yes, we should set that in TargetingPacks.BeforeCommonTargets.targets as well (when necessary, I wouldn't set it unconditionally). |
|
@wtgodbe the arcade changes are now in so you should be able to proceed. As mentioned before, you shouldn't need to update the .NET SDK. |
Co-authored-by: Copilot <[email protected]>
Keep the in-tree framework defaults import until the bootstrap package carries the net12.0 defaults. Document framework aliases without hardcoded versions. Co-authored-by: Copilot <[email protected]>
Keep Arcade's bundled-framework tests on their actual target when the shared xUnit publish default advances to net12.0. 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]>
Bring the final dotnet/arcade#17621 framework-default changes into the VMR while retaining the SDK 11 bootstrap. Remove the redundant hardcoded targeting-pack baseline now supplied by the previously ported Arcade targeting-pack support. Co-authored-by: Copilot <[email protected]> Copilot-Session: aab39968-c93b-478a-acee-e9f7b2eefc26
|
This is working now - closing in favor of dotnet/dotnet#9722 |
Bring the final dotnet/arcade#17621 framework-default changes into the VMR while retaining the SDK 11 bootstrap. Remove the redundant hardcoded targeting-pack baseline now supplied by the previously ported Arcade targeting-pack support. Co-authored-by: Copilot <[email protected]> Copilot-Session: aab39968-c93b-478a-acee-e9f7b2eefc26
Bring the final dotnet/arcade#17621 framework-default changes into the VMR while retaining the SDK 11 bootstrap. Remove the redundant hardcoded targeting-pack baseline now supplied by the previously ported Arcade targeting-pack support. Co-authored-by: Copilot <[email protected]> Copilot-Session: aab39968-c93b-478a-acee-e9f7b2eefc26
Bring the final dotnet/arcade#17621 framework-default changes into the VMR while retaining the SDK 11 bootstrap. Remove the redundant hardcoded targeting-pack baseline now supplied by the previously ported Arcade targeting-pack support. Co-authored-by: Copilot <[email protected]> Copilot-Session: aab39968-c93b-478a-acee-e9f7b2eefc26
Bring the final dotnet/arcade#17621 framework-default changes into the VMR while retaining the SDK 11 bootstrap. Remove the redundant hardcoded targeting-pack baseline now supplied by the previously ported Arcade targeting-pack support. Co-authored-by: Copilot <[email protected]> Copilot-Session: aab39968-c93b-478a-acee-e9f7b2eefc26
Bring the final dotnet/arcade#17621 framework-default changes into the VMR while retaining the SDK 11 bootstrap. Remove the redundant hardcoded targeting-pack baseline now supplied by the previously ported Arcade targeting-pack support. Co-authored-by: Copilot <[email protected]> Copilot-Session: aab39968-c93b-478a-acee-e9f7b2eefc26

Summary
Start the Arcade .NET 12 framework-default transition. The paired VMR draft is dotnet/dotnet#9722; coordinate the final transition and downstream fixes through the VMR.
NetCurrenttonet12.0,NetPrevioustonet11.0, and retainNetMinimumatnet10.0.NetCurrent.NetCurrent=net11.0.11.0.100-rc.1.26420.103.net12.0, while explicitly publishing Arcade's own tests for their existing bundled-SDK framework.Bootstrap compatibility
Merged Arcade
mainat2e48b7dec08004636dc4dd0c58ca40711d5d5834, including dotnet/arcade#17627 and its self-dependency update dotnet/arcade#17633.The consumed
Microsoft.DotNet.Arcade.Sdkpackage is now12.0.0-beta.26479.1. It supplies the bundled-framework targeting-pack baseline, maximum-supported-framework adjustment, and nearest-framework pruning fallback. The equivalent temporary overrides have been removed from this PR'sDirectory.Build.props; no new pack-mapping implementation or .NET SDK upgrade is needed.This refresh updates only the standalone Arcade PR. The VMR PR has not been refreshed and still retains its older-bootstrap compatibility settings; the two PRs are not currently byte-for-byte identical.
Validation
Microsoft.DotNet.XUnitConsoleRunnerfor net12.0, net11.0, and net10.0 using the unchanged .NET 11 SDK and updated bootstrap Arcade package, without compatibility overrides on the command line.Microsoft.Arcade.Common.Teststhrough Helix'sPublishWithOutputtarget.git diff --checkpassed.Full CI and Linux source-only execution remain for CI; local source-only validation above covers property and pack-metadata evaluation, not a complete source-build.
Historical framework-transition precedents: dotnet/arcade#16443, dotnet/arcade#15221, and dotnet/dotnet#4130.