CS-Script 4.3.0

Install-Package CS-Script -Version 4.3.0
dotnet add package CS-Script --version 4.3.0
<PackageReference Include="CS-Script" Version="4.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CS-Script --version 4.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: CS-Script, 4.3.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install CS-Script as a Cake Addin
#addin nuget:?package=CS-Script&version=4.3.0

// Install CS-Script as a Cake Tool
#tool nuget:?package=CS-Script&version=4.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

CS-Script engine Class Library for .NET 5

NuGet packages (10)

Showing the top 5 NuGet packages that depend on CS-Script:

Package Downloads
WebVella.Erp.Web

The web components library for the open-source and free platform WebVella ERP. It allows a quick and painless creation of business web applications.

ClrPlus.Scripting.MsBuild

A library containing classes to use propertysheets with MsBuild scripts. [Note: This library is not quite ready for public consumption--I'm in the middle of some code reorganization]

WireMock.Net.Matchers.CSharpCode

A CSharpCodeMatcher which can be used to match WireMock.Net Requests using C# code.

H.Runners.CSharpRunner

Allows you dynamic execution of C# code.

Kugar.Tool.ExcelTemplate

以xml模板的方式,导出Excel,详细模板参见ExportDemo.xml文件,并允许运行时更新

GitHub repositories (8)

Showing the top 5 popular GitHub repositories that depend on CS-Script:

Repository Stars
antonpup/Aurora
Unified lighting effects across multiple brands and various games.
WebVella/WebVella-ERP
Free and open-source pluggable ERP and CRM software based on ASP.NET Core 5, RazorPages and PostgreSQL 13. Targets Linux or Windows as host OS.
fdorg/flashdevelop
FlashDevelop is a free and open source code editor.
WireMock-Net/WireMock.Net
WireMock.Net is a flexible library for stubbing and mocking web HTTP responses using advanced request matching and response templating. Based on the functionality from http://WireMock.org, but extended with more functionality.
dukus/digiCamControl
DSLR camera remote control open source software
Version Downloads Last updated
4.3.0 45 1/15/2022
4.2.0 1,604 11/14/2021
4.1.3-pre 144 9/26/2021
4.1.2-pre 213 9/12/2021
4.1.1-pre 200 9/12/2021
4.1.0 7,543 7/18/2021
4.0.2 1,019 6/16/2021
4.0.1 2,355 4/13/2021
4.0.0 1,900 3/16/2021
3.30.5.1 2,416 12/21/2020
3.30.5-pre 200 12/20/2020
3.30.4 1,331 12/12/2020
3.30.3 6,431 5/30/2020
3.30.2-HotFix 1,093 4/27/2020
3.30.1-HotFix 8,874 12/17/2019
3.30.0 70,964 10/14/2019
3.29.0 143,704 5/22/2019
3.28.7 9,832 9/2/2018
3.28.4 22,127 4/28/2018
3.28.2 1,810 3/15/2018
3.28.0.1 2,729 2/5/2018
3.28.0 1,801 2/4/2018
3.27.2 3,959 8/11/2017
3.27.0 1,236 7/19/2017
3.26.2 2,742 6/30/2017
3.25.1.1 2,507 3/30/2017
3.25.1 892 3/23/2017
3.24.2 8,949 3/5/2017
3.24.0 1,531 2/14/2017
3.22.0 1,300 1/30/2017
3.21.1 931 1/25/2017
3.19.0 2,466 12/12/2016
3.18.1 2,136 11/16/2016
3.16.0 1,379 10/26/2016
3.14.0 7,179 8/3/2016
3.13.2 17,321 7/7/2016
3.13.1 835 7/7/2016
3.12.3 4,476 5/16/2016
3.12.2.1 2,406 5/14/2016
3.12.1 1,774 3/30/2016
3.12.0.1 4,701 3/22/2016
3.12.0 1,249 3/22/2016
3.11.0.1 8,860 2/4/2016
3.11.0 974 2/3/2016
3.10.0 1,368 1/12/2016
3.9.19 6,367 12/9/2015
3.9.17 9,346 11/4/2015
3.9.10 17,781 5/6/2015
3.9.8.1 1,297 4/26/2015
3.9.8 1,038 4/25/2015
3.9.7 1,306 4/16/2015
3.9.5 1,535 3/18/2015
3.9.4.1 2,088 2/25/2015
3.9.2 1,405 1/31/2015
3.8.10 14,049 10/20/2014
3.8.8 4,162 9/23/2014
3.8.7 1,121 9/17/2014
3.8.6 1,606 8/30/2014
3.8.5 1,136 8/25/2014
3.8.3 2,751 6/20/2014
3.8.2 1,116 6/15/2014
3.7.2 4,017 2/9/2014
3.7.0 1,237 1/20/2014
3.6.7 3,518 10/29/2013
3.6.2 1,658 8/31/2013
3.5.9 24,006 5/4/2013
3.5.8 1,108 5/3/2013
3.5.7 1,083 5/3/2013
3.5.6 1,104 5/3/2013
3.5.5 1,105 5/1/2013
3.5.4 1,253 4/30/2013
3.5.3 1,203 4/29/2013
3.5.0.2 3,454 2/2/2013
3.5.0.1 1,035 2/2/2013
3.5.0 1,376 2/2/2013
3.2.5.1 4,870 1/21/2012
3.2.5 1,661 1/21/2012

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:
```
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.