Skip to content

Release v3.27.0.0

Compare
Choose a tag to compare
@oleg-shilo oleg-shilo released this 19 Jul 01:17
· 726 commits to master since this release

Use choco install cs-script to deploy the release (instructions on how to use/enable choco). Note: it may take some time before the release will appear on Chocolatey.
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).


Significant usability improvements CLI and Roslyn integration. Most of he features are triggered by VSCode and Mono/Linux integration.
Most of the changes and their impact are reflected in the new CLI guide: https://github.com/oleg-shilo/cs-script/wiki/CLI---User-Guide

  • CLI improvements

    • Added console out feedback for -e and -cd options (build exe and dll)
    • Added avoiding accidental decorating of VB scripts in auto-class mode (-ac CLI argument).
    • Added disabling auto-class decoration if no "main" is detected in the script.
    • Improved CLI help content
    • Added printing new config value during -config:set operation
    • Added -ac:out switch for printing auto-class decoration result.
    • removed -noconfig support
    • described -config:set:roslyn
    • added support for case insensitive property name during -config:set and -config:get
    • added support for _ separators in property name during -config:set and -config:get
    • added support for add: and del: opcodes in -config:set
    • default -ac to -ac:1
    • added command -config:set:roslyn
  • Misc

    • Added 'compiler options' hash to the script metadata structure (part of 'IsOutOfDate' algorithm)
    • Setting autoClass_DecorateAsCS6 is set to true by default
    • Fixed problem with generating debug info for Mono-Debug on Windows
    • Added System to DefaultRefAssemblies on .NET (previously it was only done under Mono)
    • CSSCodeProvider.v4.7.dll replaced with CSSRoslynProvider.dll
    • Removed obsolete .NET 1 specific code
    • Removed obsolete CSScript.BuildEval code