C# REPL outside Visual Studio

后端 未结 8 2073
太阳男子
太阳男子 2021-01-31 16:19

F# has a REPL (read–eval–print loop) F# Interactive, C:\\Program Files (x86)\\Microsoft F#\\v4.0\\Fsi.exe.

I understand C# now has its own interactive REPL,

8条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-31 17:04

    use powershell find csi.exe:

    PS > Get-ChildItem "C:\Program Files (x86)\" -Recurse | Where-Object Name -CMatch "csi.exe"
    

    below is my output:

    
    
        Directory: C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Roslyn
    
    
    Mode                LastWriteTime         Length Name                                                                                                                        
    ----                -------------         ------ ----                                                                                                                        
    -a----        12/9/2018   6:42 PM          15712 csi.exe                                                                                                                     
    -a----        12/9/2018   6:42 PM           8482 csi.exe.config                                                                                                              
    
    
        Directory: C:\Program Files (x86)\Microsoft Visual Studio\Shared\Packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.0\tools\Roslyn45
    
    
    Mode                LastWriteTime         Length Name                                                                                                                        
    ----                -------------         ------ ----                                                                                                                        
    -a----        5/24/2018   1:38 PM          13680 csi.exe                                                                                                                     
    
    
        Directory: C:\Program Files (x86)\Microsoft Visual Studio\Shared\Packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.0\tools\RoslynLatest
    
    
    Mode                LastWriteTime         Length Name                                                                                                                        
    ----                -------------         ------ ----                                                                                                                        
    -a----        5/24/2018   1:38 PM          15280 csi.exe                                                                                                                     
    -a----        5/24/2018   1:38 PM           8816 csi.exe.config                                                                                                              
    
    
        Directory: C:\Program Files (x86)\Microsoft Visual Studio\Shared\Packages\Microsoft.Net.Compilers.1.3.2\tools
    
    
    Mode                LastWriteTime         Length Name                                                                                                                        
    ----                -------------         ------ ----                                                                                                                        
    -a----        6/27/2016   2:50 PM          13680 csi.exe                                                                                                                     
    
    
        Directory: C:\Program Files (x86)\Microsoft Visual Studio\Shared\Packages\Microsoft.Net.Compilers.2.0.1\tools
    
    
    Mode                LastWriteTime         Length Name                                                                                                                        
    ----                -------------         ------ ----                                                                                                                        
    -a----         3/7/2017  10:56 AM          14192 csi.exe                                                                                                                     
    -a----         3/7/2017  10:56 AM           7905 csi.exe.config                                                                                                              
    
    
        Directory: C:\Program Files (x86)\Microsoft Visual Studio\Shared\Packages\Microsoft.Net.Compilers.2.1.0\tools
    
    
    Mode                LastWriteTime         Length Name                                                                                                                        
    ----                -------------         ------ ----                                                                                                                        
    -a----        4/13/2017   3:47 PM          14192 csi.exe                                                                                                                     
    -a----        4/13/2017   3:47 PM           8006 csi.exe.config                                                                                                              
    
    
        Directory: C:\Program Files (x86)\Microsoft Visual Studio\Shared\Packages\Microsoft.Net.Compilers.2.4.0\tools
    
    
    Mode                LastWriteTime         Length Name                                                                                                                        
    ----                -------------         ------ ----                                                                                                                        
    -a----        9/21/2017  11:42 PM          15312 csi.exe                                                                                                                     
    -a----        9/21/2017  11:42 PM           8816 csi.exe.config                                                                                                              
    
    
        Directory: C:\Program Files (x86)\Microsoft Visual Studio\Shared\Packages\Microsoft.Net.Compilers.2.6.1\tools
    
    
    Mode                LastWriteTime         Length Name                                                                                                                        
    ----                -------------         ------ ----                                                                                                                        
    -a----       12/13/2017  10:09 PM          16296 csi.exe                                                                                                                     
    -a----       12/13/2017  10:09 PM           8816 csi.exe.config                                                                                                              
    
    

提交回复
热议问题