Releases: oleg-shilo/cs-script
Release v4.5.0.0
Deployment
Ubuntu (terminal)
repo=https://github.com/oleg-shilo/cs-script/releases/download/v4.5.0.0/; file=cs-script_4.5-0.deb; rm $file; wget $repo$file; sudo dpkg -i $file
Depending on the user context you may need to add permissions to the CS-Script temp dir sudo chmod -R 777 /tmp
Windows (choco)
Currently pending Chocolaty approval...
choco install cs-script
Manual (Any OS)
Just unpack the corresponding 7z file and start using the script engine executable cscs
.
If you prefer you can build a shim exe css
for an easy launch of the script engine process:
dotnet cscs -self-exe
The same shim/symbolic link is created if you are installing the CS-Script as a package.
Due to the quick progression v4.4.9->v4.5.0 this document contains v4.4.9 changes too.
Changes
CLI
v4.5.0
- Rebuild for .NET7
- Improved CLI documentation (triggered by #314)
- Added an extra CLI
//css_co
help sample for enabling nullable reference types (#313) - Improved responsiveness of the "build-type" scripting scenarios (e.g.
css -check
)
v4.4.9
- Enhancement #310: Add the possibility to use variables in css_include and css_import statements
CSScriptLib
v4.4.9
-
It's possible to define a custom algorithm of how to expand script directives.
Hosting code:
CSScript.EvaluatorConfig.ExpandStatementAlgorithm += statement => statement.Replace("%secret_folder%", Config.PrivateFolder);
Script code:
//css_include %secret_folder%/inputdata.cs . . .
Release v4.4.9.0
- Enhancement #310: Add the possibility to use variables in css_include and css_import statements
It's possible to define a custom algorithm of how to expand script directives.
Hosting code:
CSScript.EvaluatorConfig.ExpandStatementAlgorithm +=
statement => statement.Replace("%secret_folder%", Config.PrivateFolder);
Script code:
//css_include %secret_folder%/inputdata.cs
. . .
Release v4.4.8.0
Deployment
Ubuntu (terminal)
repo=https://github.com/oleg-shilo/cs-script/releases/download/v4.4.8.0/; file=cs-script_4.4-8.deb; rm $file; wget $repo$file; sudo dpkg -i $file
Windows (choco)
choco install cs-script
Manual (Any OS)
Just unpack the corresponding 7z file and start using the script engine executable cscs
.
If you prefer you can build a shim exe css
for an easy launch of the script engine process:
dotnet cscs -self-exe
The same shim/symbolic link is created if you are installing the CS-Script as a package.
Changes
CLI
- Fixed the problem with possible double referencing GAC assemblies for CSC engine due to the nuget dependencies on GAC assemblies of the different versions.
CSScriptLib
- no changes
Release v4.4.7.0
Deployment
Ubuntu (terminal)
repo=https://github.com/oleg-shilo/cs-script/releases/download/v4.4.7.0/; file=cs-script_4.4-7.deb; rm $file; wget $repo$file; sudo dpkg -i $file
Windows (choco)
choco install cs-script
Manual (Any OS)
Just unpack the corresponding 7z file and start using the script engine executable cscs
.
If you prefer you can build a shim exe css
for an easy launch of the script engine process:
dotnet cscs -self-exe
The same shim/symbolic link is created if you are installing the CS-Script as a package.
Changes
CLI
- Fixed the problem with possible double referencing GAC assemblies for CSC engine due to the nuget dependencies on GAC assemblies of the different versions.
CSScriptLib
- no changes
Release v4.4.6.0
Release v4.4.6.0
CSScriptLib ONLY
Changes
CLI
- no changes
CSScriptLib
- Issue #297: No support for nested //css_imp (incorrect multi-line imports handling)
Release v4.4.5.0
Release v4.4.5.0
CSScriptLib ONLY
Changes
CLI
- no changes
CSScriptLib
- Added
CSScript.EvaluatorConfig.CompilerOptions
for defining global compiler options for CodeDomEvaluator (RoslynEvaluator does not support string compiler options) - Issue #291: CSScriptLib.CompilerException: error CS2021: File name '' is empty
- Issue #295: add compiler option -define:DEBUG if debug is set
- Add support for generic types to LoadMethod
Release v4.4.4-pre
Changes
CLI
- no changes
CSScriptLib
- Added
CSScript.EvaluatorConfig.CompilerOptions
for defining global compiler options for CodeDomEvaluator (RoslynEvaluator does not support string compiler options) - Issue #291: CSScriptLib.CompilerException: error CS2021: File name '' is empty
Release v4.4.3.0
Deployment
Ubuntu (terminal)
repo=https://github.com/oleg-shilo/cs-script/releases/download/v4.4.3.0/; file=cs-script_4.4-3.deb; rm $file; wget $repo$file; sudo dpkg -i $file
Windows (choco)
Not published yet
Manual (Any OS)
Just unpack the corresponding 7z file and start using the script engine executable cscs
.
If you prefer you can build a shim exe css
for an easy launch of the script engine process:
dotnet cscs -self-exe
The same shim/symbolic link is created if you are installing the CS-Script as a package.
Changes
CLI
- Various stability improvements after feedback from integration with IDEs (ST3, Npp, VSCode)
CSScriptLib
Release v4.4.2.0
Release v4.4.2.0
Deployment
Dependency: Install .NET SDK 6 (or .NET Runtime 6 for limited functionality)
Ubuntu (terminal)
repo=https://github.com/oleg-shilo/cs-script/releases/download/v4.4.2/; file=cs-script_4.4-2.deb; rm $file; wget $repo$file; sudo dpkg -i $file
Windows (choco)
Pending approval
choco install dotnet-sdk --version=6.0.102
choco install cs-script --version=4.4.0.0
Manual (Any OS)
Just unpack the corresponding 7z file and start using the script engine executable cscs
.
If you prefer you can build a shim exe css
for an easy launch of the script engine process:
dotnet cscs -self-exe
The same shim/symbolic link is created if you are installing the CS-Script as a package.
Changes
CLI
- Issue #286: System.ArgumentNullException: Value cannot be null. (Parameter 'path') on macOS Monterey
CSScriptLib
- Issue #284: Resolve issue in Compile method in class CodeDomEvaluator (Evaluator.CodeDom.cs)