Skip to content

CS Script on Linux

Oleg Shilo edited this page Jun 19, 2017 · 21 revisions

--- under constructions ---

The following is a minimal set of instructions for preparing C-Script running on Linux with full support for C# 7. Ensure you have Mono v5.0.1 or higher and CSSRoaslynProvider is present in the same folder where cscs.exe is (both files are attached).

mono cscs.exe -config:create
mono cscs.exe -config:set:UseAlternativeCompiler=CSSRoslynProvider.dll
mono cscs.exe -config:set:DefaultRefAssemblies="System.Core.dll;System.dll;System.ValueTuple.dll"
mono cscs.exe -config:set:SearchDirs=%MONO%/4.5/Facades