[main] Source code updates from dotnet/dotnet - #20058
Conversation
Diff: https://github.com/dotnet/dotnet/compare/920a0d55f8d87a0423dd3a89555f70d9c9004584..50dbab4de210e882172b07934e9666313b7065f1 From: dotnet/dotnet@920a0d5 To: dotnet/dotnet@50dbab4 [[ commit created by automation ]]
Updated Dependencies: Microsoft.Build, Microsoft.Build.Framework, Microsoft.Build.Tasks.Core, Microsoft.Build.Utilities.Core (Version 18.10.0-1.26359.10 -> 18.10.0-preview-26357-08) [[ commit created by automation ]]
|
Note VMR PRs included in this codeflow update:
💡 You may consult the FAQ for more information or tag @dotnet/prodconsvcs for assistance. |
✅ No release notes required |
No dependency updates to commit [[ commit created by automation ]]
No dependency updates to commit [[ commit created by automation ]]
No dependency updates to commit [[ commit created by automation ]]
The codeflow update to Microsoft.Build.* now transitively pulls System.Security.Cryptography.Xml 10.0.8 (newly flagged by GHSA advisories, patched in 10.0.10) on .NET, and Microsoft.CodeAnalysis.Test.Resources.Proprietary -> NETStandard.Library 1.6.1 pulls vulnerable System.Net.Http 4.3.0 and System.Text.RegularExpressions 4.3.0 on net472. - Bump System.Security.Cryptography.Xml override to 10.0.10 (Version.Details). - Add .NET-only Cryptography.Xml overrides in fsc/fsi/FSharp.Build.UnitTests (net472 excluded: no such transitive there and its deps conflict with System.ValueTuple). These cascade to Microsoft.FSharp.Compiler and FSharpSuite.Tests. - Override the net472 System.Net.Http/System.Text.RegularExpressions facades to patched 4.3.4/4.3.1 in FSharp.Test.Utilities. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…e2-420d-a350-5ffd0a001c93 # Conflicts: # eng/Version.Details.props # eng/Version.Details.xml
StreamJsonRpc 2.25.29 pulls MessagePack transitively; some restore environments resolve the vulnerable 2.5.198 (< 2.5.301 patched line), tripping NuGetAudit warnings-as-errors in FSharp.Compiler.LanguageServer.Tests. Add an explicit direct reference at 2.5.302 (StreamJsonRpc's own minimum, already patched) so the resolved version is deterministic everywhere. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
A merge conflict resolution left a stray </Dependency> closing tag after Microsoft.Build.Utilities.Core, making the XML invalid and failing the Maestro Version.Details.props Validation and Codeflow verification checks. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
🔍 Tooling Safety Check — Affects-Build-Infra, Affects-Restore
|
|
Important While this PR was open, the source repository has received code changes from this repository (an opposite codeflow merged). You can continue with one of the following options:
💡 You may consult the FAQ for more information or tag @dotnet/prodconsvcs for assistance. |
4 similar comments
|
Important While this PR was open, the source repository has received code changes from this repository (an opposite codeflow merged). You can continue with one of the following options:
💡 You may consult the FAQ for more information or tag @dotnet/prodconsvcs for assistance. |
|
Important While this PR was open, the source repository has received code changes from this repository (an opposite codeflow merged). You can continue with one of the following options:
💡 You may consult the FAQ for more information or tag @dotnet/prodconsvcs for assistance. |
|
Important While this PR was open, the source repository has received code changes from this repository (an opposite codeflow merged). You can continue with one of the following options:
💡 You may consult the FAQ for more information or tag @dotnet/prodconsvcs for assistance. |
|
Important While this PR was open, the source repository has received code changes from this repository (an opposite codeflow merged). You can continue with one of the following options:
💡 You may consult the FAQ for more information or tag @dotnet/prodconsvcs for assistance. |
PR #20058 added per-project package overrides to work around the LACK of Central Package Management. Now that CPM + transitive pinning is enabled here, those overrides are redundant AND invalid (a PackageReference under CPM cannot carry Version=, so they trip NU1008). This removes/consolidates them: - fsc/fsi/FSharp.Build.UnitTests: drop the 3 identical netcore-only System.Security.Cryptography.Xml overrides. It is centrally pinned (10.0.10) and transitive pinning now raises the Microsoft.Build.Tasks.Core transitive on netcore automatically (verified via restore); net472 is untouched (crypto.xml not in its graph -> no ValueTuple conflict). - LanguageServer: drop the per-project MessagePack 2.5.302 override; pin it centrally instead so transitive pinning patches it wherever StreamJsonRpc is used (LanguageServer AND the CLASP.Framework.Proxy), not just one project. - Test.Utilities: keep the net472-only System.Net.Http/System.Text.RegularExpressions facade overrides but as local VersionOverride (no global eng/Versions.props properties), keeping the deviation minimal and scoped. Also resolves union-merge duplicate PackageReference blocks introduced by the merge from main in Microsoft.FSharp.Compiler, LanguageServer, and Test.Utilities. Verified by clean bootstrap ./build.sh -c Debug (0 warnings, 0 errors) and by inspecting restored versions: crypto.xml 10.0.10 (fsc), MessagePack 2.5.302 (LanguageServer + Proxy), StreamJsonRpc 2.26.5. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…ix NU1504) The backflow added the canonical PrivateAssets=all override into the shared fsc.targets/fsi.targets and the FSharp.Build.UnitTests item group, but the earlier codeflow (#20058) had already added a conditional (net-core-only) override directly in fsc.fsproj, fsi.fsproj and FSharp.Build.UnitTests.fsproj. This produced two identical PackageReference items for net11.0, failing restore with NU1504 (WarnAsError) across all CI jobs. Removing the redundant conditional blocks aligns these projects with the VMR (dotnet/dotnet) canonical state; each project now references the package exactly once via the shared item group / .targets import. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Note
This is a codeflow update. It may contain both source code changes from
the VMR
as well as dependency updates. Learn more here.
This pull request brings the following source code changes
From https://github.com/dotnet/dotnet
Updated Dependencies
Associated changes in source repos
Diff the source with this PR branch