From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Developer(s)Oleg Shilo
Stable release
3.29.0 / 19 April 2019; 9 months ago (2019-04-19)
Platform.NET Framework
Size10 MB
TypeScripting language
LicenseMIT License[1]

CS-Script is a free and open-source scripting platform that enables creating scripts in ECMA-compliant C# syntax. These scripts have access to .NET Framework or Mono APIs. CS-Script offers standalone script execution as well as hosting the script engine from CLR apps. A newer edition of this product, called CS-Script.Core works with .NET Core.

Existing .NET development tools (e.g. Visual Studio and Sharp Develop) can be used, allowing editing and debugging scripts within traditional .NET-aware development environments. Additionally, CS-Script support can be added to Notepad++ or Visual Studio Code via plugins.[2][3]

FlashDevelop uses CS-Script as its internal scripting engine.[4]


Simple deployment approach[edit]

Just bring both the script and engine file (about 100 KB) onto the system that has .NET runtime installed and the script can be run.


Scripts can be run on any system that has CLR installed (including Mono).

Base language is a full featured C#[edit]

CS-Script is a truly object-oriented language that supports VB.NET, C++/CLI and J#. All .NET functionality is available (including FCL, COM Interop, Remoting, WPF, WCF). Easily available debugger and rich IDE (Visual Studio or third-party IDEs). Execution model within the script is the same as for any .NET application: static void Main().

Optimized interpretation[edit]

Interpretation of any statement in the script is done only once even if the statement is frequently used throughout the code.

Strongly typed[edit]

Strong typing is a luxury not available for the most of the scripting languages. All software development tasks can be done in the same language. GUI development for script application becomes easy.


Scripting system can be extended by using new assemblies written in any .NET languages or COM components. Any script can be easily converted into an application and vice versa. Functionality of any CLR application can be extended with scripting.

Script hosting[edit]

Can be run within WSH and can be mixed in one WSF file.


  1. ^ Shilo, Oleg (19 January 2018). "License". oleg-shilo/cs-script – via GitHub.
  2. ^ "CS-Script - Visual Studio Marketplace". marketplace.visualstudio.com. Retrieved 2019-07-13.
  3. ^ Shilo, Oleg (2019-06-27), CS-Script (C# Intellisense) plugin for Notepad++ (x86/x64): oleg-shilo/cs-script.npp, retrieved 2019-07-13
  4. ^ "Scripting - FlashDevelop". www.flashdevelop.org. Retrieved 2019-07-13.

External links[edit]