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

FSI support for dotnet core #1096

Closed
KySpace opened this issue May 10, 2019 · 3 comments
Closed

FSI support for dotnet core #1096

KySpace opened this issue May 10, 2019 · 3 comments

Comments

@KySpace
Copy link

KySpace commented May 10, 2019

It seems that dotnet core 3 preview has already supported FSharp Interactive. I am trying to use this feature with the help of Ionide.

I have tried with opening fsi directly through dotnet CLI, and it appears to be working.
image

However, the F# Run script or FSI: Send file will yield Failed to spawn FSI, please ensure it's in path, leading to the problem of what FSharp.fsiFilePath should be set to. I have tried setting the path to either dotnet.exe or fsi.exe but neither works. I would like to know if there is a way to utilize it now and request it to be better supported if it is currently not.

Thank you

@runbmp
Copy link

runbmp commented May 10, 2019

Does this work with adjusted path for your OS?

Solution has been published and works just fine on Mac

https://vxlabs.com/2019/04/16/dotnet-fsi-in-vscode/

"FSharp.fsacRuntime": "netcore",
"FSharp.fsiFilePath": "/usr/local/share/dotnet/dotnet",
"FSharp.fsiExtraParameters": ["fsi"]

@KillyMXI
Copy link

Does this work with adjusted path for your OS?

Not on Windows.
Already mentioned in #1087 (looks like duplicate by the way)

@KySpace
Copy link
Author

KySpace commented May 12, 2019

Does this work with adjusted path for your OS?

Not on Windows.
Already mentioned in #1087 (looks like duplicate by the way)

Oh, OK. Thanks!

@KySpace KySpace closed this as completed May 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants