this post was submitted on 12 Sep 2023
4 points (83.3% liked)

VS Code

807 readers
1 users here now

founded 1 year ago
MODERATORS
 

Hi everyone, I'm trying to try out F# via FSI in VS Code (Windows 10)

I have Ionide for F# installed, and have used it before, but now every time I try to start it I get a message "FSI :Start resulted in an error", it goes on to helpfully report "the option has no value".

dotnet is in path, dotnet works great. FSI? nothing.

I also have the .net workload installed for visual studio 2022 (if that matters).

I started up my Linux VM (KDE Neon) fired up vs codium and tried FSI Start...same error! So no tinkering in f# for me tonight. Does anyone have an idea what's happening, across two environments? Google is no help...

you are viewing a single comment's thread
view the rest of the comments
[โ€“] Lodra 2 points 1 year ago (5 children)

Which terminal are you running in vscode? I think the default is powershell but I'm not sure

Whatever it is, try running that terminal outside of vscode and executing the FSI command. Do you see the same error?

If not, then the problem is with vscode and the embedded terminal.

If yes, then it's something else. You could try running FSI in other terminals like cmd.exe

[โ€“] DrDeadCrash 1 points 1 year ago

It says it's not in the path, and indeed...poking around the sdk 7 folder I don't see FSI.exe, I see FSI.dll but of course you can't run a dll by name alone.

load more comments (4 replies)