Quantcast
Channel: CS-Script Source
Viewing all articles
Browse latest Browse all 355

Released: Releases v3.9.15.0 (Aug 13, 2015)

$
0
0

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

Viewing all articles
Browse latest Browse all 355

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>