Skip to content
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

FSharp.Literate with .NET Core 3 built-in FSI #502

Closed
sergey-tihon opened this issue Oct 6, 2019 · 3 comments
Closed

FSharp.Literate with .NET Core 3 built-in FSI #502

sergey-tihon opened this issue Oct 6, 2019 · 3 comments

Comments

@sergey-tihon
Copy link
Member

For some reason (unknown for me) I cannot execute F# Script that uses FSharp.Literate using FSI shipped with .NET Core 3.

dotnet fsi docs/generate.fsx

build_cmd_—_literate-netcore3

I've created repro repository, that can be used to reproduce the issue
https://github.com/sergey-tihon/literate-netcore3
just close and run ./build.fs

The repo also contain netcore3.0 console app, that do exactly the same but run as console application on top of .NET Core and works fine.

When I run script line by line I see that I fail exactly on the first call to FSharp.Literace - Literate.ParseMarkdownFile
https://github.com/sergey-tihon/literate-netcore3/blob/master/docs/generate.fsx#L30-L32

Any ideas? Can we easily release new version that uses latest FSCS?

@sergey-tihon sergey-tihon changed the title FSharp.Literate with .NET Core built-in FSI FSharp.Literate with .NET Core 3 built-in FSI Oct 6, 2019
@baronfel
Copy link
Collaborator

baronfel commented Oct 6, 2019

Even if you update to FCS 32 you'll likely hit what FSAC has: the set of assemblies referenced for FSI is incomplete as reported by FCS, see this issue for details: dotnet/fsharp#7701. We've been working a fix on this issue and associated PR at FSAC: ionide/FsAutoComplete#465.

@thinkbeforecoding
Copy link
Contributor

@sergey-tihon @baronfel , I managed to make it run with dotnet fsi (3.0.0) in the RegexProvider repository:
fsprojects/FSharp.Text.RegexProvider#31

If you want to have a look 😄

@dsyme
Copy link
Contributor

dsyme commented Jun 30, 2020

Closing as this is now evidently working

@dsyme dsyme closed this as completed Jun 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants