I use F# Interactive every day, so I like launching it from cmd, not just Visual Studio and Visual Studio Code. To do that, I have an environment variable called FSHARPINSTALLDIR
in my PATH
that points to C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\FSharp
. This allows me to simply type fsi
to launch F# interactive.
Where is C# Interactive installed so I can do the same thing?
With current Visual Studio version (15.8) C# interactive console binary should be installed in MSBuild\15.0\Bin\Roslyn\csi.exe
relative to Visual Studio installation path.
IIRC, previous versions of Visual Studio install it under C:\Program Files (x86)\MSBuild
directory.
You can use following CMD command to locate its actual location:
dir "C:\Program Files (x86)\csi.exe" /s /b