mbraceproject / FsPickler

A fast multi-format message serializer for .NET
http://mbraceproject.github.io/FsPickler/
MIT License
325 stars 52 forks source link

Can't seem to build the project on MacOS #122

Open thomasd3 opened 4 years ago

thomasd3 commented 4 years ago

The build.sh file doesn't build on MacOS:

I get this:

Build.Release 00:00:12.9064783 (Unsupported log file format. Latest supported version is 8, the log file has version 9.)

but what is interesting is that the build itself goes without error, so I guess the log format of the last Visual Studio doesn't work.. Looks like these guys have the same issue: https://gitter.im/fsharp/FAKE?at=5e6a729be203784a55a350db

anyhow, looks like there is something to update as they saw this issue 5-6 months ago.

With VisualStudio MacOS, I get this error:

image

which doesn't make sense...

With Rider MacOS, it compiles. But trying to make a NuGet package yields another nonsense error:

NuGet.Build.Tasks.Pack.targets(198, 5): [MSB4181] The "PackTask" task returned false but did not log an error.

What is the last time the build process was tested on MacOS? it looks like it is a bit outdated in regards to the current tools' versions.

thomasd3 commented 4 years ago

after some more tests, the fake runner needs to be updated, but the new visual studio changed the log format so build.sh will fail. overall the command line build works, the build.sh fails due to the version mismatch and it doesn't compile inside VS for some reason I have no clue about. That being said, this is a brand new version, so they may have some problems to fix. so the build config can definitely be updated a little bit, but it will fail afterwards anyway.

eiriktsarpalis commented 4 years ago

Visual Studio Mac has always had issues with F# projects, I generally use VS Code or Rider in that platform.