Repository navigation
[main] Source code updates from dotnet/fsharp - #8116
Conversation
|
Caution 🚨 Action Required — Conflict detectedA conflict was detected when trying to update this PR with changes from build The conflicts in the following files need to be manually resolved:
ℹ️ To resolve the conflicts, please follow these steps:
💡 You may consult the FAQ for more information or tag @dotnet/prodconsvcs for assistance. |
|
Note PRs from original repository included in this codeflow update:
💡 You may consult the FAQ for more information or tag @dotnet/prodconsvcs for assistance. |
|
Azure Pipelines: 2 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Diff: https://github.com/dotnet/fsharp/compare/536800cd82a0481c055f08d570bbc924712331b2..536800cd82a0481c055f08d570bbc924712331b2 From: dotnet/fsharp@536800c To: dotnet/fsharp@536800c The following files had conflicts that were resolved by a user: - src/fsharp/src/Compiler/Checking/CheckDeclarations.fs
|
resolved a conflict in |
The fsc.fsproj and fsi.fsproj explicitly add a System.Security.Cryptography.Xml PackageReference to override a vulnerable transitive dependency (NU1903). In the VMR source-build leg, central transitive pinning already provides that package, so the explicit reference collides with it and restore fails with NU1504 (Duplicate 'PackageReference' items, treated as error). Exclude the explicit override when DotNetBuildSourceOnly is set; the transitive-pinned package keeps the override in place there, while non-source-build builds are unaffected. Co-authored-by: Copilot <[email protected]>
…n-7c386a99-1ed3-4f5f-9a29-cb73316bd2c2
The NU1504 duplicate PackageReference error in the VMR vertical build legs
(Windows_x64, Windows_x86, Ubuntu BuildTests) came from two literal
System.Security.Cryptography.Xml PackageReference items on net11.0:
* one added upstream in fsc.fsproj / fsi.fsproj (arrived via codeflow), and
* a redundant VMR-local one added earlier in fsc.targets / fsi.targets
(commit 515ff87 "Fix NuGet Audit errors and build issues").
Upstream fsharp carries the override only in fsc.fsproj / fsi.fsproj and has
no such reference in the .targets files, so the VMR-local additions are now
obsolete and produce the duplicate. Remove them so fsc.targets / fsi.targets
match upstream, leaving the single upstream override.
This also reverts the previous partial fix that gated the fsproj override on
DotNetBuildSourceOnly; that only silenced source-only legs while the vertical
legs kept failing. The four files now match pristine upstream, fixing all legs
while keeping the NU1903 override in place.
Co-authored-by: Copilot <[email protected]>
After the fsharp codeflow bumped FSharpNetCoreProductTargetFramework from net10.0 to net11.0, the Microsoft.FSharp.Compiler package now lays its assemblies (and FSharp.Core.xml) under lib/net11.0. The SDK layout project tool_fsc.csproj hardcoded net10.0 when resolving FSharp.Core.xml for the non-source-build (vertical) legs, so the publish copy failed with MSB3030 "Could not copy the file .../lib/net10.0/FSharp.Core.xml because it was not found" on Windows_x64, Windows_x86 and Ubuntu BuildTests. The source-build leg already used $(NetCurrent) here and kept working. The whole compiler package lib folder tracks the current product TFM, and SdkTargetFramework is likewise $(NetCurrent), so unify the property to $(NetCurrent) for all build modes. This also matches the repo guidance to never hardcode a TFM. This failure only surfaced once the NU1504 fsc/fsi duplicate PackageReference error was resolved and the fsharp build could complete. Co-authored-by: Copilot <[email protected]>
[[ commit created by automation ]]
|
Note PRs from original repository included in this codeflow update:
💡 You may consult the FAQ for more information or tag @dotnet/prodconsvcs for assistance. |
Note
This is a codeflow update. It may contain both source code changes from
the source repo
as well as dependency updates. Learn more here.
This pull request brings the following source code changes
From https://github.com/dotnet/fsharp
Diff the source with this PR branch