Closed ciphertools closed 2 years ago
Hey, you must be using an old version of the Fable compiler. DateOnly
support was added in 3.7.0 I think 3.6.0. Do dotnet tool update fable
and you'll be good to go!
This is an issue with Remoting, but frankly I am not sure how to conditionally compile that code when using Fable versions older than 3.6.0.
Thank you! That worked - well, at least the error messages have now changed to something different!
I have to admit that I am really not sure if this is an issue with Fable.Remoting, but I am reporting this here just in case ...
I am trying to manually convert my Safe Stack app to run .NET6. When I run it, though, I get a series of error messages like this one:
../src/Client/output/.fable/Fable.Remoting.MsgPack.1.16.0/Write.fs(621,41): error FABLE: System.DateOnly.get_DayNumber is not supported by Fable - Inline call from .(784.65)
Some of the error messages refer to
Read.fs
, instead ofWrite.fs
, and sometimesSystem.TimeOnly
is mentioned. It is very possible that there is nothing wrong with Fable.Remoting and that these messages come from me trying things where I am a little out of my depth!