CS-Script 4.14.1

CS-Script engine Class Library for .NET

Showing the top 20 packages that depend on CS-Script.

Packages Downloads
WireMock.Net
Lightweight Http Mocking Server for .Net, inspired by WireMock from the Java landscape.
17
WireMock.Net
Lightweight Http Mocking Server for .Net, inspired by WireMock from the Java landscape.
16
WireMock.Net
Lightweight Http Mocking Server for .Net, inspired by WireMock from the Java landscape.
15
WireMock.Net
Lightweight Http Mocking Server for .Net, inspired by WireMock from the Java landscape.
14
WireMock.Net
Lightweight Http Mocking Server for .Net, inspired by WireMock from the Java landscape.
13


Changes (v4.14.0-4.14.1)

The major changes in this release are around improved support for working with external compile engines in CodeDom evaluator mode. Now both, CLI and CSScriptLib APIs allow automatic download and deployment of the latest .NET compilers (nuget packages) on the target system so the user does not have to install the complete .NET SDK.

Caching and temp files management has also been improved dramatically and made more consistent and reliable.

Another significant change is heave refactoring and documentation improvements.

Special thank you to @maettu-this who helped with the requirements for all these changes.

========================================

Misc

  • #444: "The documentation texts of CompileAssemblyFrom..."
  • Updated CodeDom-Evaluator-Dependencies.md to reference the new deployment option.
  • Reworked and unified csc.exe probing for CodeDom compilation.
  • Intensive code housekeeping
  • Major rework of the .NET Framework samples. Triggered by #442

CLI

  • Improved cache cleanup mechanism to prevent endless growth of csscript.core directory
  • Enabled Runtime.CleanAbandonedCache() to automatically remove cache directories when source scripts are deleted
  • -pkill command improvements. Bump version to 1.0.1
  • Added -deploy-csc switch for compiler deployment via NuGet
  • Enhanced the LockCheck sample to better handle directory lock checks using handle.exe as a fallback.

CSScriptLib

  • #434: Could not load file or assembly 'Microsoft.CodeAnalysis, Version=4.14.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies
  • #435: /share compiler flag causes CS2007 error after upgrading to 4.13.1
  • #436: SerializationException: Type 'CSScripting.CodeDom.CompilerError' in assembly 'CSScriptLib...
  • #437: updated wrong resource referencing.
  • #441: Change CodeDomEvaluator.IsCachingEnabled default to true
  • #445: Missing information on resulting compilation details?
  • #448: Using preprocessor directives with Roslyn / SourceCodeKind.Regular
  • #449: RoslynEvaluator ignores disabling referencing AppDomain assemblies.
  • #447: Proposing EvaluatorBase.CompileFile for consistency with EvaluatorBase.CompileAssemblyFromFile Add AttachedProperties and project context to compilation
  • Enabled abandoned cache cleanup to prevent endless growth of csscript.lib directory
  • Cache directories are now automatically cleaned when source script directories no longer exist
  • Added NugetPackageDownloader and unified compiler discovery
  • Deprecated CompilerLastOutput; add CompilerInput/Output
  • Added DownloadLatestSdkToolset to NugetPackageDownloader for automated retrieval of compilers and reference assemblies. It improves support for environments without .NET SDK.

Temporary Directory Structure

CS-Script now uses separate temporary directories for better isolation:

%TEMP% (or $TMPDIR on Linux) ├── csscript.core\ # CLI execution (cscs.exe, csws.exe) │ ├── cache\ # Compiled script cache │ ├── snippets\ # -code execution cache │ └── DbgAttach\ # Debug metadata └── csscript.lib\ # Library/hosted evaluation (CSScriptLib) ├── cache\ # Compiled script cache └── tmp files # Temporary compilation artifacts

Version Downloads Last updated
4.14.11 12 10/01/2026
4.14.10 12 10/01/2026
4.14.9 8 10/01/2026
4.14.8 12 10/01/2026
4.14.7 11 10/01/2026
4.14.6 8 10/01/2026
4.14.6-pre 9 10/01/2026
4.14.5 10 10/01/2026
4.14.4 9 10/01/2026
4.14.4-Pre 10 10/01/2026
4.14.3 13 10/01/2026
4.14.2 11 10/01/2026
4.14.1 13 10/01/2026
4.14.0 10 10/01/2026
4.13.2 12 10/01/2026
4.13.1 12 10/01/2026
4.13.0 12 10/01/2026
4.12.0 9 10/01/2026
4.11.2 12 10/01/2026
4.11.0 12 10/01/2026
4.10.1 11 10/01/2026
4.10.0 8 10/01/2026
4.9.9 9 10/01/2026
4.9.7 11 10/01/2026
4.9.6 10 10/01/2026
4.9.5 12 10/01/2026
4.8.27 11 10/01/2026
4.8.26 11 10/01/2026
4.8.21 8 10/01/2026
4.8.19 14 10/01/2026
4.8.18-HotFix 9 10/01/2026
4.8.17 10 10/01/2026
4.8.16 9 10/01/2026
4.8.16-pre 11 10/01/2026
4.8.14 10 10/01/2026
4.8.13 9 10/01/2026
4.8.12 10 10/01/2026
4.8.10 8 10/01/2026
4.8.9 8 10/01/2026
4.8.8 10 10/01/2026
4.8.7 14 10/01/2026
4.8.4-pre 9 10/01/2026
4.8.3 11 10/01/2026
4.8.1 9 10/01/2026
4.8.0 9 10/01/2026
4.6.5 10 10/01/2026
4.6.2 10 10/01/2026
4.5.0 11 10/01/2026
4.4.6 9 10/01/2026
4.4.5 7 10/01/2026
4.4.4-pre 10 10/01/2026
4.4.2 9 10/01/2026
4.4.1 11 10/01/2026
4.4.0 8 10/01/2026
4.3.0 9 10/01/2026
4.2.0 11 10/01/2026
4.1.3-pre 10 10/01/2026
4.1.2-pre 11 10/01/2026
4.1.1-pre 12 10/01/2026
4.1.0 11 10/01/2026
4.0.2 10 10/01/2026
4.0.1 10 10/01/2026
4.0.0 13 10/01/2026
3.30.5.1 11 10/01/2026
3.30.5-pre 10 10/01/2026
3.30.4 10 10/01/2026
3.30.3 10 10/01/2026
3.30.2-HotFix 11 10/01/2026
3.30.1-HotFix 10 10/01/2026
3.30.0 14 10/01/2026
3.29.0 12 10/01/2026
3.28.7 10 10/01/2026
3.28.4 10 10/01/2026
3.28.2 8 10/01/2026
3.28.0.1 8 10/01/2026
3.28.0 13 10/01/2026
3.27.2 11 10/01/2026
3.27.0 9 10/01/2026
3.26.2 14 10/01/2026
3.25.1.1 12 10/01/2026
3.25.1 11 10/01/2026
3.24.2 10 10/01/2026
3.24.0 10 10/01/2026
3.22.0 10 10/01/2026
3.21.1 11 10/01/2026
3.19.0 12 10/01/2026
3.18.1 10 10/01/2026
3.16.0 10 10/01/2026
3.14.0 10 10/01/2026
3.13.2 9 10/01/2026
3.13.1 14 10/01/2026
3.12.3 10 10/01/2026
3.12.2.1 11 10/01/2026
3.12.1 10 10/01/2026
3.12.0.1 11 10/01/2026
3.12.0 12 10/01/2026
3.11.0.1 12 10/01/2026
3.11.0 11 10/01/2026
3.10.0 12 10/01/2026
3.9.19 9 10/01/2026
3.9.17 10 10/01/2026
3.9.10 9 10/01/2026
3.9.8.1 12 10/01/2026
3.9.8 10 10/01/2026
3.9.7 10 10/01/2026
3.9.5 12 10/01/2026
3.9.4.1 8 10/01/2026
3.9.2 9 10/01/2026
3.8.10 13 10/01/2026
3.8.8 13 10/01/2026
3.8.7 9 10/01/2026
3.8.6 10 10/01/2026
3.8.5 9 10/01/2026
3.8.3 11 10/01/2026
3.8.2 10 10/01/2026
3.7.2 9 10/01/2026
3.7.0 9 10/01/2026
3.6.7 8 10/01/2026
3.6.2 9 10/01/2026
3.5.9 9 10/01/2026
3.5.8 10 10/01/2026
3.5.7 11 10/01/2026
3.5.6 10 10/01/2026
3.5.5 9 10/01/2026
3.5.4 8 10/01/2026
3.5.3 9 10/01/2026
3.5.0.2 10 10/01/2026
3.5.0.1 10 10/01/2026
3.5.0 8 10/01/2026
3.2.5.1 10 10/01/2026
3.2.5 15 10/01/2026