Releases: oleg-shilo/cs-script.core
Release v2.0.0.0
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.headeron 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)
v1.4.6.0-NET5-RC6
The final .NET5 release
We are ready to go public. This very build is to be re-versined as v4.0.0.0 and published on https://github.com/oleg-shilo/cs-script
Deployment
Ubuntu (terminal)
repo=https://github.com/oleg-shilo/cs-script.core/releases/download/v1.4.6.0-NET5-RC6/; file=cs-script_1.4-6.deb; rm $file; wget $repo$file; sudo dpkg -i $file
Windows (choco)
choco install cs-script.core --version=1.4.6.0-NET5-RC5 --pre
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 CSScriptLib and CLI support for VB syntax
- Added auto-discovery of VS and VSCode
- Added
using static dbg;to -code.header
Release v1.4.5.0-NET5-RC5
Deployment
Ubuntu (terminal)
repo=https://github.com/oleg-shilo/cs-script.core/releases/download/v1.4.5.0-NET5-RC5/; file=cs-script_1.4-5.deb; rm $file; wget $repo$file; sudo dpkg -i $file
Windows (choco)
choco install cs-script.core --version=1.4.5.0-NET5-RC5 --pre
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 complex (multi-file) commands support (e.g.
css -self-test-run) - Added
css -self-testcommand for testing the engine on the target system - Added
css -self-execommand for building css launcher for manual deployment - Build changes to support Linux distro
- Added
-vscodehelp info - Added
css -server:restartCLI parameter - Added detection of CLI host and build server running with different root privileges on Linux
Release v1.4.5.0-NET5-RC5
CLI
- Added complex (multi-file) commands support (e.g.
css -selftest:run) - Build process (CI) changes to support building Linux distro
-selftestswitch (wip)- Added
-vscodehelp info
Release 1.4.4-NET5-RC4
- Added
//css_engine(//css_ng) directive for choosing the compiling engine - Added
-engine:<csc|dotnet>switch - Extended unit-testing to cover CLI scenarios
Release v1.4.3.0-.NET5-RC3
CodeDOM support for CLI and CSScriptLib
Build for .NET 5.0.101 (public release)
The code samples are here: https://github.com/oleg-shilo/cs-script.core/tree/master/src/CSScriptLib/src
Choco and NuGet packages will be published within a week.
CLI
- LoadFrom is globally replaced with LoadFile (to avoid CLR-backed asm memory caching)
- Implemented hot-loading for csc engine in standalone mode. First cut
- Normalized all \n and \r\n CLI output by using Environment.NewLine
- Add config setting for using of csc builder
- Added reporting using of incompatible csc compiler for scripts requiring XAML compilation implemented deployment of build server
CSScriptLib
- 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)
Release v1.4.2.0 .NET5 RC2
.NET5 RC2
- Migrated to .NET5 RC2
- Implemented
//css_winappfor WinForm and WPF applications - Added
-new:toplevelCLI parameter - Added support for -vscode switch to open script in visual studio
- Added support for -vs switch to open script folder in visual studio code
- Added support for top-level statements (new classless script approach)
- Added CLI switch -profile for testing script loading performance
- Added CLI
-speedfor compiler performance testing
Release v1.4.1-preview
.NET5 Preview
- Build for .NET 5.0.100-preview.7.20366.6
- Improved special characters escaping for
-code
Release v1.4.0.0
- Added handling quots in the
//css_ref...directives - Added support for VB.NET syntax (cscs.exe only)
VB.NET support
` VB.NET script sample
' //css_ref System
Imports System
Module Module1
Sub Main()
Console.WriteLine("Hello World! (VB)")
End Sub
End ModuleCreate VB.NET script:
css.exe -new:console-vb hello.vbExecute VB.NET script
css.exe hello.vb
Release v1.3.2.0
- Resolve error on Linux when downloading packages
- Fixed error "Cannot parse "//css_import..."" when referencing an assembly
- Updated help content for
-newswitch - Fixed
AgregateReferenceswith inclusion of CLR assemblies - Updated initialization of
%css_nuget%envar so it does not interfere with handling synatxerGenerateProjectForrequest handling
