-
Notifications
You must be signed in to change notification settings - Fork 259
CS Script on Linux
Oleg Shilo edited this page Aug 13, 2017
·
21 revisions
-
Ensure you have Mono v5.0.1 or higher.
-
Copy binaries (cscs.exe, CSSRoslynProvider.dll) into
/usr/lib/cs-script/bin
(or/usr/local/lib/cs-script/bin
). The binaries are available from the following GitHub locations:
https://github.com/oleg-shilo/cs-script.vscode/blob/master/bin/CSSRoslynProvider.dll
https://github.com/oleg-shilo/cs-script.vscode/blob/master/bin/cscs.exe -
Add execute permissionto the script engine exectable:
sudo chmod +x /usr/lib/cs-script/bin/cscs.exe
-
Create symlink to the script engine file:
sudo ln -s /usr/lib/cs-script/bin/cscs.exe /usr/bin/cscs
-
Enable Roslyn:
sudo cscs -config:set:roslyn
The following is a few useful configuration settings for CS-Script on Linux.
sudo cscs -config:set:DefaultRefAssemblies=add:"System.ValueTuple.dll"
sudo cscs -config:set:SearchDirs=add:%MONO%/4.5/Facades
--- under constructions ---