-
Notifications
You must be signed in to change notification settings - Fork 16
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
Add support for additional TFM's #26
Conversation
Add support for .netstandard2.0 and net5.0
Great! |
The library intentionally doesn't target netstandard (since .NET framework is no longer supported). What would be the benefit of targeting net5.0? Isn't netcoreapp3.1 sufficient and compatible with new releases? |
Hi @eiriktsarpalis, actually the main driver for this PR is to bring back support for .Net Framework (required for project I'm working on). Regarding TFM's I'm happy to remove explicit target for net5.0 - I was under impression it's recommended to use both netcoreapp* and net5.0+. |
Feel free to try, but as mentioned support was removed intentionally (can't recall the precise reason but I believe it might have something to do with AppDomains and assembly loading semantics). Have you verified that tests are passing for netfx? Seems to be failing in CI. |
For netfx I had to polyfill CI is failing currently on netcoreapp3.1 tests (looks like ThunkServer didn't start) |
According to the CI logs only |
NetFx tests are also executed https://ci.appveyor.com/project/dsyme/vagabond/builds/42827493#L384
Just to confirm - nuget packages should target netcoreapp3.1 + netstandard2.0, and test should be executed on latest runtime (net6.0) and netfx (net472)? Also CI currently fails on generating docs. I've tried to update FSharp.Formatting but looks like Razor support was dropped. Any recommendations? 😊
|
Yes please 👍
No recommendations unfortunately. Have you tried updating to the latest version of FSharp.Formatting? |
For FSharp.Formatting 14.0.1 (latest) it just failing with
And FSharp.Formatting.Razor 4.1.0 is returning the original error
Alternatively I wonder if there is a switch to run fsi from older sdk (3.1) |
I think it boils down to updating the local |
Are you fine with migrating docs generation to fsdocs? |
Sure, whatever is bleeding edge I approve of. |
Yes just move to latest fsdocs-tool (though it requires net5.0 to run, we must fix that) |
Unfortunately I had problems with migrating to fsdocs-tool as it didn't work with net6.0, and when switching to net5.0 I've observed issues with FAKE. CI is green now as I've made workaround to use SDK 3.1 purely for docs generation. I'm happy to migrate to fsdocs (separate PR) once issue with net6.0 will be resolved. |
Thanks! |
Add support for .netstandard2.0 and net5.0
Related to mbraceproject/FsPickler#123