I have installed F# using Visual Studio Community Edition and I also installed the Visual F# 4.0 Tools
When I run fsi from a command prompt an exception is thrown

I also tried adding the F# to the path, but that did not solve the problem. What else should I do?
Edit:
If I run fsi directly from C:\Program Files (x86)\Microsoft SDKs\F#\4.0\Framework\v4.0 it works.
I had my problem fixed with using the F# forum on google.
But for the reference, here's the solution.
After running where fsi I had this output:
λ where fsi
C:\Program Files\dotnet\bin\fsi.exe
C:\Program Files (x86)\Microsoft SDKs\F#\4.0\Framework\v4.0\Fsi.exe
For some reason fsi from dotnet core is not working. I changed the order in my system path so that the F# Tools came before dotnet core and that fixed the problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With