Skip to content

Release v3.25.0.0

Compare
Choose a tag to compare
@oleg-shilo oleg-shilo released this 21 Mar 05:47
· 797 commits to master since this release

Use choco install cs-script to deploy the release (instructions on how to use/enable choco).
If you prefer manual install then avoid using WinZip or WinRar as they lead to locking the downloaded content. Use 7zip instead.

Extension Pack contains some additional content representing somewhat less mainstream functionality and experimental features. For installing it extract cs-script.ExtensionPack.7z archive to your install location (e.g. C:\ProgramData\chocolatey\lib\cs-script\tools\cs-script).


  • Added support for C# 7.
    In order to activate it you need to adjust the default settings to use CS-Script code provider:
    cscs -config:set:UseAlternativeCompiler:%CSSCRIPT_DIR%\lib\CSSCodeProvider.v4.6.dll
  • Assorted defect fixed
    • Added setting LastCompilingResult even when compiling script has failed.
    • Issue #47: Error while compiling related to environment block
    • Added CSScript.IgnoreSystemWideConfig()
    • Disabled "dbg.print" triggered injection of System.Linq/Core on Linux
    • Disabled dbg.cs inclusion if dbg.print is disabled
    • Fixed problem with propagating CSScript.GlobalSettings.EnableDbgPrint for hosted execution
    • Adding extra referenced namespaces when CSScript.GlobalSettings.EnableDbgPrint == true is made runtime version aware to avoid adding System.Linq for .NET 3.5. (System.Linq.dll exists only on .NET 4.0+)