CS-Script 4.3.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package CS-Script --version 4.3.0
                    
NuGet\Install-Package CS-Script -Version 4.3.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<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.
<PackageVersion Include="CS-Script" Version="4.3.0" />
                    
Directory.Packages.props
<PackageReference Include="CS-Script" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CS-Script --version 4.3.0
                    
#r "nuget: CS-Script, 4.3.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=CS-Script&version=4.3.0
                    
Install CS-Script as a Cake Addin
#tool nuget:?package=CS-Script&version=4.3.0
                    
Install CS-Script as a Cake Tool

CS-Script engine Class Library for .NET 5

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (23)

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.

WireMock.Net.Matchers.CSharpCode

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

ThingsGateway.CSScript

Package Description

BingLibraryLite

Welcome to use BingLibraryLite! Feel free to utilize it at your convenience. However, if you encounter any issues, you're on your own... Just kidding! Feel free to reach out if you need assistance. 😄 By the way, I actually uploaded this just for my own convenience. Also, a big thanks to all the other libraries this one references - they're awesome!

cbim.mango.server.framework

BIM-STAR平台服务器端主程序所需库

GitHub repositories (12)

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

Repository Stars
timschneeb/GalaxyBudsClient
Unofficial Galaxy Buds Manager for Windows, macOS, Linux, and Android
dotnetcore/Magicodes.IE
Import and export general library, support Dto import and export, template export, fancy export and dynamic export, support Excel, Csv, Word, Pdf and Html.
antonpup/Aurora
Unified lighting effects across multiple brands and various games.
wiremock/WireMock.Net
WireMock.Net is a flexible product 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.
WebVella/WebVella-ERP
Free and open-source pluggable ERP and CRM software based on ASP.NET Core 9, RazorPages and PostgreSQL . Targets Linux or Windows as host OS.
IoTSharp/IoTSharp
IoTSharp is an open-source IoT platform for data collection, processing, visualization, and device management.
fdorg/flashdevelop
FlashDevelop is a free and open source code editor.
dukus/digiCamControl
DSLR camera remote control open source software
SparkDevNetwork/Rock
An open source CMS, Relationship Management System (RMS) and Church Management System (ChMS) all rolled into one.
vchelaru/FlatRedBall
Cross-platform 2D game engine focused on ultimate productivity built in .NET
ThingsGateway/ThingsGateway
ThingsGateway is a cross platform high-performance edge acquisition gateway based on Net8, providing underlying PLC communication libraries, communication debugging software, and more.
Cryolitia/PhotoTimeFix
An easy program aimed to fix photo's timestamp incorrect by filename/Exif
Version Downloads Last updated
4.9.7 5,828 6/8/2025
4.9.6 19,838 4/27/2025
4.9.5 2,906 4/17/2025
4.8.27 59,187 1/12/2025
4.8.26 148 1/11/2025
4.8.21 18,254 11/18/2024
4.8.19 16,074 10/31/2024
4.8.18-HotFix 731 7/19/2024
4.8.17 52,695 7/13/2024
4.8.16 20,201 5/21/2024
4.8.16-pre 162 5/6/2024
4.8.14 31,421 1/16/2024
4.8.13 26,367 12/20/2023
4.8.12 1,283 12/16/2023
4.8.10 3,344 11/25/2023
4.8.9 2,823 11/24/2023
4.8.8 13,295 11/15/2023
4.8.7 985 11/7/2023
4.8.4-pre 180 10/4/2023
4.8.3 8,524 10/1/2023
4.8.1 13,151 7/7/2023
4.8.0 503 7/5/2023
4.6.5 22,957 3/19/2023
4.6.2 74,131 1/2/2023
4.5.0 14,215 12/15/2022
4.4.6 91,730 6/8/2022
4.4.5 11,138 5/15/2022
4.4.4-pre 239 4/23/2022
4.4.2 50,961 4/16/2022
4.4.1 33,756 2/14/2022
4.4.0 700 2/12/2022
4.3.0 3,096 1/15/2022
4.2.0 13,930 11/14/2021
4.1.3-pre 325 9/26/2021
4.1.2-pre 499 9/12/2021
4.1.1-pre 387 9/12/2021
4.1.0 38,939 7/18/2021
4.0.2 2,309 6/16/2021
4.0.1 3,731 4/13/2021
4.0.0 38,497 3/16/2021
3.30.5.1 6,275 12/21/2020
3.30.5-pre 408 12/20/2020
3.30.4 3,545 12/12/2020
3.30.3 31,321 5/30/2020
3.30.2-HotFix 1,296 4/27/2020
3.30.1-HotFix 9,081 12/17/2019
3.30.0 88,339 10/14/2019
3.29.0 353,006 5/22/2019
3.28.7 13,494 9/2/2018
3.28.4 33,088 4/28/2018
3.28.2 2,648 3/15/2018
3.28.0.1 4,879 2/5/2018
3.28.0 2,661 2/4/2018
3.27.2 4,783 8/11/2017
3.27.0 1,928 7/19/2017
3.26.2 3,323 6/30/2017
3.25.1.1 3,106 3/30/2017
3.25.1 1,489 3/23/2017
3.24.2 17,445 3/5/2017
3.24.0 2,340 2/14/2017
3.22.0 1,873 1/30/2017
3.21.1 1,516 1/25/2017
3.19.0 3,135 12/12/2016
3.18.1 2,822 11/16/2016
3.16.0 1,993 10/26/2016
3.14.0 10,201 8/3/2016
3.13.2 34,376 7/7/2016
3.13.1 1,400 7/7/2016
3.12.3 5,635 5/16/2016
3.12.2.1 2,991 5/14/2016
3.12.1 2,383 3/30/2016
3.12.0.1 5,265 3/22/2016
3.12.0 1,868 3/22/2016
3.11.0.1 9,553 2/4/2016
3.11.0 1,564 2/3/2016
3.10.0 2,060 1/12/2016
3.9.19 9,487 12/9/2015
3.9.17 31,263 11/4/2015
3.9.10 22,863 5/6/2015
3.9.8.1 1,960 4/26/2015
3.9.8 1,630 4/25/2015
3.9.7 1,904 4/16/2015
3.9.5 2,222 3/18/2015
3.9.4.1 2,699 2/25/2015
3.9.2 2,007 1/31/2015
3.8.10 22,881 10/20/2014
3.8.8 8,496 9/23/2014
3.8.7 1,696 9/17/2014
3.8.6 2,223 8/30/2014
3.8.5 1,743 8/25/2014
3.8.3 3,438 6/20/2014
3.8.2 1,702 6/15/2014
3.7.2 5,138 2/9/2014
3.7.0 1,840 1/20/2014
3.6.7 4,197 10/29/2013
3.6.2 2,278 8/31/2013
3.5.9 26,951 5/4/2013
3.5.8 1,781 5/3/2013
3.5.7 1,694 5/3/2013
3.5.6 1,705 5/3/2013
3.5.5 1,698 5/1/2013
3.5.4 1,851 4/30/2013
3.5.3 1,820 4/29/2013
3.5.0.2 4,269 2/2/2013
3.5.0.1 1,636 2/2/2013
3.5.0 2,147 2/2/2013
3.2.5.1 23,422 1/21/2012
3.2.5 2,797 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.