-
Notifications
You must be signed in to change notification settings - Fork 292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dotnet-fable demands specific version of dotnet SDK #961
Comments
OMG, this is crazy. Welcome to the hell of netcore versioning 🔥 dotnet-fable targets netcoreapp1.0. I guess the dependency on the 1.0.5 runtime just comes because I had that runtime installed in my computer when I built it, but I didn't know new patch versions weren't backwards compatible 😡
Unfortunately I'm not sure how to prevent this, maybe @enricosada will be our saviour as always? On another note, until Paket can manage |
Workaround (will send PR for fix asap):
Now things should work |
As a note for posterity. this affect users with Is ok with |
See: * https://github.com/dotnet/cli/issues/6705 * https://github.com/fable-compiler/Fable/pull/963/files * fable-compiler/Fable#961 for how dotnet-fable solved a related issue.
Description
All the
dotnet
projects I have so far were built using SDK version 1.0.3 anddotnet-fable
1.0.4 was happy with it. While upgrading to paket-managed dependencies I specifieddotnet-fable
cli version to be "1.0.*" and it broke the build with the error:Apparently 1.0.6 version of
dotnet-fable
imposes this requirement on the SDK version. There's nothing anywhere in my working directory referencing'Microsoft.NETCore.App', version '1.0.5'
, no way to tell what demands it. There's no obvious way to override this either.For the moment I locked the dotnet-fable version in the project file, but going forward and
considering there's a release of the SDK every month or so:
I have newer version of SDK, so clearly this requirement is not even backwards-compatible, meaning running multiple project on different versions is going to be DevOps nightmare.
Repro code
https://github.com/fable-elmish/sample-react-counter
Change the fsproj to use
dotnet-fable
version="1.0.*" and hope you have the right version of the SDK.Expected and actual results
Expect it to build as long as F# build succeeds.
Related information
The text was updated successfully, but these errors were encountered: