The first .NET5 release
This is the first CS-Script.Core release that targets .NET 5.
This build is to be re-versioned as v4.0.0.0 and published on https://github.com/oleg-shilo/cs-script as "CS-Script".
After that the repository will be decommissioned and the product will be fully managed from https://github.com/oleg-shilo/cs-script
Deployment
Ubuntu (terminal)
repo=https://github.com/oleg-shilo/cs-script.core/releases/download/v2.0.0.0/; file=cs-script_2.0-0.deb; rm $file; wget $repo$file; sudo dpkg -i $file
Windows (choco)
choco install cs-script.core --version=2.0.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
- New commands:
-server
- for managing build server-vscode
- to open script in VSCode-vs
- to script project in Visual Studio-self-test
- for testing the engine on the target system-self-exe
- for building css launcher for manual deployment-engine:<csc|dotnet>
-new:toplevel
- CLI parameter-profile
- for testing script loading performance-speed
- for compiler performance testing
- Added css
- Added creation of
code.header
on first use of CLI command-code
- Added complex (multi-file) commands support (e.g. css -self-test-run)
- Implemented build server
- Implemented hot-loading for csc engine.
- Normalized all \n and \r\n CLI output by using Environment.NewLine
- Added reporting using of incompatible csc compiler for scripts requiring XAML compilation
CSScriptLib
- Implemented //css_winapp for WinForm and WPF applications
- Added //css_engine (//css_ng) directive for choosing the compiling engine
- Completed CSScript.Evaluator.CodeDom interface.
- Implemented transparent hosting of CSScriptLib in .NET-Framework and .NET-Core
- Removed dependency on Roslyn for pure CodeDom evaluator use-case
- added sample with downloading the latest C# compiler
- added passing compiler options
- Implemented probing for default C#5 compiler when hosted on .NET Framework.
- Extending u-testing to cover new Evaluator features (CSScriptLib.dll)