Skip to content

net10 to net11#20078

Closed
T-Gro wants to merge 1 commit into
dotnet:mainfrom
T-Gro:t-gro-net11-upgrade
Closed

net10 to net11#20078
T-Gro wants to merge 1 commit into
dotnet:mainfrom
T-Gro:t-gro-net11-upgrade

Conversation

@T-Gro

@T-Gro T-Gro commented Jul 22, 2026

Copy link
Copy Markdown
Member

Repo builds on the .NET 11 SDK and targets net11.0 (SDK + Arcade 11,
product TargetFramework net11.0, TestPlatform 18.0.1), plus the
adaptations that bump forces (fsi crossgen2 off, FSI #r "nuget:"
resolving shared-framework assemblies, generic netcoreapp ilverify
baselines, RegexOptions.AnyNewLine).

global.json floats to any local 11.x SDK (rollForward: latestMinor,
allowPrerelease); Arcade bootstrap keeps a concrete tools.dotnet.

Upgrade the repo to build on .NET 11 and target net11.0, plus the
adaptations the SDK/Arcade 11 bump forces.

Core version switch:
- global.json: contributor-friendly floating sdk.version "11.0" with
  rollForward=latestMinor + allowPrerelease (newest local 11.x wins);
  concrete tools.dotnet 11.0.100-preview.6.26359.118 for Arcade bootstrap;
  Microsoft.DotNet.Arcade.Sdk 11.0.0-beta.26330.1.
- eng/TargetFrameworks.props: FSharpNetCoreProductTargetFramework net11.0.
- eng/Version.Details.xml: Arcade.Sdk 11.0.0-beta.26330.1 (+Sha).
- eng/Versions.props: MicrosoftTestPlatformVersion 18.0.1.
- eng/common: regenerated to Arcade 11.

Arcade-11 / SDK adaptations:
- Microsoft.FSharp.Compiler.fsproj: NuGetRepack property casing, drop the
  obsolete UsingTask, add no-op PackageReleasePackages override (dotnet#19557).
- fsi.fsproj: PublishReadyToRun=false (crossgen2 preview crashes on fsi).
- tests/Directory.Build.props: mark .ComponentTests IsTestProject (excludes
  from SymStore PDB conversion that crashes on large test assemblies).
- FSharp.DependencyManager.ProjectFile.fs: resolve framework-provided
  assemblies (Microsoft.Extensions.* now in the shared framework) for
  FSI #r "nuget:"; RestoreEnablePackagePruning=false.
- regression-test-jobs.yml: install the compiler SDK into the TestRepo.

net11 test-behavior:
- EditorTests.fs: RegexOptions.AnyNewLine (2048) under NET11_0_OR_GREATER.
- CompilerAssert.fs: derive runtimeconfig runtime version from
  FrameworkDescription + rollForward LatestMinor (preview is semver-lower).
- ILChecker.fs: normalize System.Linq assembly extern (version-independent).
- ilverify.ps1: map versioned netN.0 baselines to generic netcoreapp;
  rename the two FSharp.Compiler.Service baselines accordingly.
- EndToEndBuildTests: MicrosoftTestPlatformVersion 18.0.1.

Validated: ./build.sh -c Release green (0/0); EmittedIL 1413 pass/0 fail;
EditorTests AnyNewLine pass; ilverify FCS net11.0 exact-matches baseline.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@T-Gro
T-Gro requested a review from a team as a code owner July 22, 2026 19:34
@github-actions github-actions Bot added ⚠️ Affects-Build-Infra Tooling check: PR touches build infrastructure ⚠️ Affects-Restore Tooling check: PR touches NuGet packages or feeds labels Jul 22, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🔍 Tooling Safety Check — Affects-Build-Infra, Affects-Restore
Affects-Build-Infra: modifies eng/common/ build scripts, TargetFrameworks.props, CI templates
Affects-Restore: modifies eng/Version.Details.xml and eng/Versions.props (package versions)

Generated by PR Tooling Safety Check · opus46 3.6M ·

@T-Gro

T-Gro commented Jul 22, 2026

Copy link
Copy Markdown
Member Author

Superseded by #20080 (branch on origin, not a fork).

@T-Gro T-Gro closed this Jul 22, 2026
@T-Gro
T-Gro deleted the t-gro-net11-upgrade branch July 22, 2026 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

⚠️ Affects-Build-Infra Tooling check: PR touches build infrastructure ⚠️ Affects-Restore Tooling check: PR touches NuGet packages or feeds

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant