Skip to content

System.Formats.Cbor.Tests.csproj: fails to build when bundled FSharp.Core is not on nuget CI feed. #115469

Closed
@tmds

Description

@tmds

Some of our internal SDK CI builds produce an FSharp.Core version that is not available on Microsoft CI feeds.

Building runtime repository with such an SDK results in:

/home/tester/runtime/src/libraries/System.Formats.Cbor/tests/System.Formats.Cbor.Tests.csproj : error NU1603: Warning As Error: FsCheck 2.14.3 depends on FSharp.Core (>= 10.0.100-beta.25224.6) but FSharp.Core 10.0.100-beta.25224.6 was not found. FSharp.Core 10.0.100-beta.25224.102 was resolved instead. [/home/tester/runtime/Build.proj]

The issue occurs because the C# project can't find the bundled FSharp.Core package.

Like with #112729, --warnAsError false doesn't stop this warning from failing the build.

cc @ViktorHofer @omajid

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions