Skip to content

[release/dev18.11] Unpin MSBuild dependencies to restore VMR source-build coherency - #20969

Merged
abonie merged 2 commits into
release/dev18.11from
backport/pr-20278-to-release/dev18.11
Nov 13, 2026
Merged

abonie merged 2 commits into
release/dev18.11from
backport/pr-20278-to-release/dev18.11

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Backport of #20278 to release/dev18.11

/cc @abonie @T-Gro

Note: Release notes and eng/common files are excluded from this backport. If release notes are needed, they should be added manually to the appropriate version file for this branch.

Customer Impact

Testing

Risk

IMPORTANT: Is this backport for a servicing release? If so and this change touches code that ships in a NuGet package, please make certain that you have added any necessary package authoring and gotten it explicitly reviewed.

T-Gro and others added 2 commits November 12, 2026 15:12
The Microsoft.Build.* deps were pinned at 18.10.0-1.26370.18 to keep them on
the net10.0 asset line while the product targeted net10.0. The product moved to
net11.0 (#20080) before the pin landed, so the pin's own unpin condition was
already met. In the VMR source-only build this pin causes prebuilts: the VMR
source-builds MSBuild on the 18.11.0 line (VS 18.11 channel), so an 18.10.0
reference cannot be satisfied in-tree and leaks to an external feed, dragging
its net10 System.* transitive closure with it.

Unpin the four Microsoft.Build.* deps and let the existing msbuild -> fsharp
VS 18.11 subscription flow the coherent build (darc update-dependencies), and
bump the CPM runtime floor 10.0.9 -> 10.0.10 since net11 MSBuild 18.11 pulls
System.Collections.Immutable / System.Reflection.Metadata / Security.Cryptography.Xml
at >= 10.0.10. VS 18.11 is the same channel the VMR (main and release/11.0.1xx)
consumes MSBuild from, restoring coherency and removing the prebuilts.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 3a3d99e1-5b05-409a-afd5-c8d9676360f4
The EndToEndBuildTests job ran .\Build.cmd -c Release -pack without -ci, so
Arcade treated it as a dev build and defaulted UpdateXlfOnBuild=true. That runs
the XliffTasks UpdateXlf target after each inner-TFM build of the multi-targeted
FSharp.Core, which intermittently fails with 'MSB4057: The target "UpdateXlf"
does not exist' when the XliffTasks import has not been applied for that inner
build yet. The same flake hits main (e.g. build 1555456). Adding -ci keeps
UpdateXlfOnBuild off, matching every other build job in this pipeline (including
the -ci -pack AheadOfTime job).

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 3a3d99e1-5b05-409a-afd5-c8d9676360f4
@github-project-automation github-project-automation Bot moved this from New to In Progress in F# Compiler and Tooling Nov 13, 2026
@abonie
abonie merged commit 30e8ec9 into release/dev18.11 Nov 13, 2026
47 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in F# Compiler and Tooling Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants