CS-Script 4.14.4

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.
18
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

Major change is migration of RoslynEvaluator to the modern Roslyn API, which allows bringing full support for importing dependency scripts and handling pre-processor symbols.

The old behavior (old Roslyn API with SourceCodeKind.Script) can be re-enabled by setting Globals.DefaultRoslynCompilationToScript=true.

NOTE: if you choose DefaultRoslynCompilationToScript=true you will also need to set CompileInfo.CodeKind to 'script' if you are executing your script with optional CompileInfo parameter:


var info = new CompileInfo { CodeKind = SourceCodeKind.Script };

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

CLI

  • Improved script assembly location tracking. Now even if the script assembly is loaded not from a file but from memory the location can still be resolved in the script via CS-Script own extension method Assembly.Location()

CSScriptLib

  • #458: Type 'CSScriptLib.Project' in Assembly 'CSScriptLib, Version=4.14.3.0, Culture=neutral, PublicKeyToken=4c30df19402bb442' is not marked as serializable
  • #459: Possibility to specify default search dirs, assemblies and namespaces in a hosted environment? ProjectBuilder is made public and documented.
  • #444 + #445: IEvaluator API update
    • IEvaluator.Check(string code) is marked as [obsolete]
    • IEvaluator.CheckCode(string scriptCode)
    • IEvaluator.CheckFile(string scriptFile)
    • IEvaluator.CompileAssemblyFromCode(string scriptCode, CompileInfo info)
    • IEvaluator.CompileAssemblyFromFile(string scriptFile, CompileInfo info)
    • CodeDomEvaluator.CompileAssemblyFromFile(string scriptFile, CompileInfo info, out Project project)
    • CodeDomEvaluator.CompileAssemblyFromCode(string scriptCode, CompileInfo info, out Project project)
  • Changed default Roslyn mode: Globals.DefaultRoslynCompilationToScript=false
  • Added Globals.AlwaysEmitRoslynProject=false
  • Improve RoslynEvaluator: better script import, error mapping, project attachment, and assembly filtering

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