fsi no longer is used on Windows. The dotnet tool is used by calling dotnet fsi to run the REPL and to run scripts (.fsx).
Compiling applications requires a .NET project, at minimum created by dotnet new (e.g., {micha} [45] --> dotnet new console -lang F# -o fs-test. A project file, e.g., .fsproj, must be present with build instructions. Then, dotnet build is used.
The good old days, when you could just write and compile, seem to be gone. :-\
Windows 10 Pro
GNU Emacs 29.0.50 (build 1, x86_64-w64-mingw32) of 2021-10-12
{micha} [29] --> dotnet fsi --version
Microsoft (R) F# Interactive version 11.4.2.0 for F# 5.0
{micha} [28] --> dotnet --info
.NET SDK (reflecting any global.json):
Version: 5.0.401
Commit: 4bef5f3dbf
Runtime Environment:
OS Name: Windows
OS Version: 10.0.19043
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\5.0.401\
Host (useful for support):
Version: 5.0.10
Commit: e1825b4928
Description
fsi
no longer is used on Windows. Thedotnet
tool is used by callingdotnet fsi
to run the REPL and to run scripts (.fsx
).Compiling applications requires a .NET project, at minimum created by
dotnet new
(e.g.,{micha} [45] --> dotnet new console -lang F# -o fs-test
. A project file, e.g.,.fsproj
, must be present with build instructions. Then,dotnet build
is used.The good old days, when you could just write and compile, seem to be gone. :-\