fsprojects / FsHttp

A lightweight F# HTTP library by @SchlenkR and @dawedawe
https://fsprojects.github.io/FsHttp/
Apache License 2.0
424 stars 42 forks source link

FsHttp Has an Implicit Dependency on Fsharp.Core 8.0+ from version 12.0.0 on #176

Closed SIRHAMY closed 4 months ago

SIRHAMY commented 5 months ago

Context

Problem

Error:

Could not load file or assembly 'FSharp.Core,          │
│             │       │ Version=8.0.0.0, Culture=neutral,                      │
│             │       │ PublicKeyToken=b03f5f7f11d50a3a'. The system cannot    │
│             │       │ find the file specified.

Reason:

Ask

Repro

Replit: https://replit.com/@HamiltonGreene/FsHttpFsharpCore8ImplicitDependency?run=#main.fs

image

But basically can just do:

ronnieholm commented 5 months ago

Re-pinning FSharp.Core by adding the following to your project file might resolve the issue:

<PackageReference Update="FSharp.Core" Version="7.0.0" />
dawedawe commented 5 months ago

Thanks for reporting. I think that one is on me. Sorry.

SchlenkR commented 4 months ago

Thanks for reporting @SIRHAMY and for the fix @dawedawe. We should have an updated nuget package in an hour - feel free to try it and leave a comment. 🙏