Releases: oleg-shilo/cs-script
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)
Release v4.4.1.0 (CS-ScriptLib)
Release v4.4.0.0
Deployment
Ubuntu (terminal)
repo=https://github.com/oleg-shilo/cs-script/releases/download/v4.4.0.0/; file=cs-script_4.4-0.deb; rm $file; wget $repo$file; sudo dpkg -i $file
Windows (choco)
Pending approval
sudo choco install cs-script --version=4.4.0.0
Manual
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:
cscs -self-exe
The same shim/symbolic link is created if you are installing the CS-Script as a package.
Changes
CLI
- Issue #277: Installation and use problems, NET6, targeting (4.3.0.0)
- Added warning on SDK not installed
- Added auto-switch to Roslyn if SDK is not found
- Improved check for SDK install. Added ignoring SDK of lower version.
CSScriptLib
- Issue #278: Support for embedded PDB?
- Added setting PDB format via
CSScript.EvaluatorConfig.PdbFormat
- Added setting PDB format via
Release v4.3.0
Release v4.3.0.0
Major changes
- CS-Script now targets .NET6
- Major overhaul of GitHub documentation.
Special thanks to @maettu-this for helping with refining the documentation.
Deployment
Ubuntu (terminal)
repo=https://github.com/oleg-shilo/cs-script/releases/download/v4.3.0.0/; file=cs-script_4.3-0.deb; rm $file; wget $repo$file; sudo dpkg -i $file
Windows (choco)
Pending approval
choco install cs-script --version=4.3.0.0
It is highly recommended that you uninstall CS-Script.Core:
sudo choco uninstall cs-script.core
Manual
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:
cscs -self-exe
The same shim/symbolic link is created if you are installing the CS-Script as a package.
Changes
CLI
- Issue #271: Any Special considerations running in a linux docker container?
- Added support for
packages.config
andNuGet.config
Triggered by PR #263: Use and forward additional nuget arguments - Various changes for .NET 6 porting
- Create NuGetCache directory on environments without an existing package directory
- Open main script in Visual Studio when project is loaded
- PR #265: Do not overwrite return code set in Environment.ExitCode
- Issue #264: Spelling issue?
- Issue #260: Double Entry Point Definition
- Issue #267: CSScript.CodeDomEvaluator.ReferenceAssembliesByName(list<string)
CSScriptLib
- None
Release v4.2.0.0
Maintenance release
Deployment
Ubuntu (terminal)
repo=https://github.com/oleg-shilo/cs-script/releases/download/v4.2.0.0/; file=cs-script_4.2-0.deb; rm $file; wget $repo$file; sudo dpkg -i $file
Windows (choco)
Pending approval
choco install cs-script --version=4.2.0.0
It is highly recommended that you uninstall CS-Script.Core if it is installed:
sudo choco uninstall cs-script.core
Manual
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:
cscs -self-exe
The same shim/symbolic link is created if you are installing the CS-Script as a package.
Changes
Misc
- Added auto-generation of the CLI MD documentation with -help cli:md. To be used to generate GitHub wiki page during the build
- Fixed Debian packaging problem (/n/r needed replacement with \n)
- Issue #253: Supports both .Net Framework and .Net 5
CLI
- Updated -speed and -code with the complete support -ng:* switches
- Added -servers:start and -servers:stop command to control both Roslyn and csc build servers at the same time
- Issue #258: Can not run scripts after installing VS2022
- Issue #257: Ability to catch AppDomain.UnhandledException in a not-hosted script (cscs)
- Issue #255: Relative path for cscs.exe -out option results in wrong output folder
- Issue #254: Script merger for hosted scripts
- Issue #252: System.NullReferenceException: Object reference not set to an instance of an object. (updated API doc)
CSScriptLib
- Native API CacheEnabled marked as obsolete
- Added IEvaluator.IsCachingEnabled. It is always available from the concrete types implementing IEvaluator and now it is moved directly to the interface.
Release v4.1.4.0-HotFix
- Updated
-speed
and-code
with the complete support-ng:*
switches - Added
IEvaluator.IsCachingEnabled
. Ite as always available from the conctrete types implementingIEvaluator
and now it is moved directly to the interface. - Added
-servers:start
and-servers:stop
command to control both Roslyn and csc build servers at the same time - CSScriptLib: Native API
CacheEnabled
marked as obsolete - Issue #258: Can not run scripts after installing VS2022
- Issue #257: Ability to catch AppDomain.UnhandledException in a not-hosted script (cscs)
- Issue #255: Relative path for cscs.exe -out option results in wrong output folder
- Issue #254: Script merger for hosted scripts
- Issue #253: Supports both .Net Framework and .Net 5
- Issue #252: System.NullReferenceException: Object reference not set to an instance of an object. (updated API doc)
- Added auto-generation of the CLI MD documentation with
-help cli:md
. To be used to generate GitHub wiki page during the build - Fixed Debian packaging problem (
/n/r
needed replacement with\n
)
Release v4.1.2.0-pre
Release v4.1.0.0
Implementation of Roslyn engine that allows execution of scripts (both CLI and hosted) on the target system without .NET 5 SDK installed.
Deployment
Ubuntu (terminal)
repo=https://github.com/oleg-shilo/cs-script/releases/download/v4.1.0.0/; file=cs-script_4.1-0.deb; rm $file; wget $repo$file; sudo dpkg -i $file
Windows (choco)
Pending approval
choco install cs-script --version=4.1.0.0
It is highly recommended that you uninstall CS-Script.Core:
sudo choco uninstall cs-script.core
Manual
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:
cscs -self-exe
The same shim/symbolic link is created if you are installing the CS-Script as a package.
Changes
CLI
-
Added support for Roslyn engine (no SDK required). See this wiki for details.
Per-execution
From command line:
css -engine:roslyn <script file> or css -ng:roslyn <script file>
From script code:
//css_engine roslyn or //css_ng roslyn
Global
css -config:set:DefaultCompilerEngine=roslyn
-
Added option to configure build server ports from environment variables
-
Issue #235: csc engine cannot compile dll