Home

Hot Fixes

Online Help  

Licence

Contact

 Support
CS-Script


PayPal

The Current CS-Script Release

C# Script execution engine. Version 2.1.0 Copyright (C) 2004-2008 Oleg Shilo

 Download binary

 Download documentation

 Download source

 View Readme.txt

 Release History 

The most important changes in this release are:

Simplified Hosting Model
Unrestricted 2-way communication between Script and Host without any setup cost (e.g. adding referenced assemblies)

Complete integration with Visual Studio

Current integration includes toolbar buttons/commands and code snippets library. 

Support for C++ style Macros in C# code (
Dynamic Code Generation)
This version of CS-Script extends its ability to dynamically 
generate code at runtime and allows defining C++ style macros in C# code.

See What is new? for details.

View readme.txt for the installation/upgrade details.

Changes since last release

  • Implemented support for Simplified Hosting Model
  • Implemented support for C++ style Macros
  • Complete Visual Studio Integration
  • Added custom compiler for C# 3.0 
  • Implemented some Configuration Console improvements
  • Implemented some Auto update improvements
  • Added support for WWF projects when opening script in Visual Studio.
  • Implemented new directive //css_ignore_namespace.
  • Change AsmHelper constructor to treat null as valid AppDomain name.
  • At runtime all SearchDirs are added to the system PATH environment variable.
  • Runtime value CSScript.GlobalSettings.UseAlternativeCompiler can be now set to assembly file name only.
  • Deprecated CSSEnvironment.Settings has been removed.
  • When opening script in Visual Studio script.cs.config (or script.exe.config) is automatically included into project as app.config.
  • Simplified Hosting Model can be enabled/disabled by setting CSScript.ShareHostRefAssemblies property (default is true). 
  • When hosting the script engine with CSScriptLibrary.dll developers can specify now assemblies that the script is referencing as part of the method signature. 
  • Added compiler symbol CSS_PROJECT which can be used to for conditional compilation of script code.
  • When running with /sconfig option the script engine will treat *.exe.config file (if found) as a script config file in absence of *.cs.config (see this document for details).
  • Added new scripts to the Script Library
    - Samples/Hosting/HostingSimplified/Hello.cs    
    - Samples/Hosting/HostingSimplified/Host.cs
    - Samples/Hosting/HostingSimplified/Script.cs
    - Samples/Hosting/HostingWithInterfaces/Host.cs
    - Samples/Hosting/HostingWithInterfaces/Script.cs
    - Samples/Hosting/Net v3.5/Host.cs
    - Samples/Hosting/Net v3.5/Script.cs   
    - Samples/Hosting/Referencing/Host.cs
    - Samples/Hosting/Referencing/Script.cs
    - Samples/Hosting/Referencing/ExternalAsm.cs
    - Samples/Macros/script_simple.cs
    - Samples/Macros/script.cs
    - Samples/Macros/precompile.cs       
    - Samples/WWF/HelloWorld.cs
    - Samples/WWFMsgBoxActivity.cs
    - Lib/linq.includes.cs
    - Lib/wpf.includes.cs
    - Lib/wwf.includes.cs 

Copyright (C) 2004-2008 Oleg Shilo