Added C#6.0 support
Read full C# 6.0 support overview.This version of CS-Script is does support execution of C# 6.0 scripts. However due to the unstable (and slow) nature of the current MS solution for C# 6.0 hosted compilation it is disabled by default.
If you want to enable it you need set CSSCodeProvider.v.4.6.dll as your CS-Script code compiler. You can do this either globally via configuration console (not recommended) or per script with //css_args directive:
Per-script configuration
//css_args /provider:%CSSCRIPT_DIR%\lib\CSSCodeProvider.v4.6.dll using System; class Script { staticvoid Main(string[] args) { int count = 333; Console.WriteLine($"Count: { count}"); } }
Global configuration