Home

Hot Fixes

Online Help  

Licence

Contact

 Support
CS-Script


PayPal

The Current CS-Script Release

C# Script execution engine. Version 2.3.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:

Usability  improvements
This version of CS-Script delivers significant usability improvements for both hosted and non-hosted scenarios. This includes ability to specify probing directories from code or command line and use environment variables in script directives:

//css_ref %NHIRBENATE_DIR%\nhibernate.dll;
using System;
...

//css_searchdir ..\..\MyAssemblies;
//css_searchdir C:\CommonAssemblies;
using System;
...

Another usefull feature is a verbose mode for stand-alone scripts:

C:\cs-script\Samples>cscs.exe /verbose hello.cs a bb ccc
C# Script execution engine. Version 2.2.3.0.
Copyright (C) 2004-2008 Oleg Shilo.

> ----------------
  CurrentDirectory: C:\cs-script\Samples
  Executing: C:\cs-script\Samples\hello.cs
  Arguments:
    0 - a
    1 - bb
    2 - ccc
  SearchDirectories:
    0 - C:\cs-script\Samples
    1 - C:\cs-script\Lib
    2 - C:\cs-script\Dev
    3 - C:\Documents and Settings\<user>\Local Settings\Temp\CSSCRIPT\Cache\-1582419629
> ----------------

Hello World!

See What is new? for details.

View readme.txt for the installation/upgrade details.

Changes since the last release

  • Added command-line switch /verbose 
  • Added command-line switch /dir 
  • Added support for environment variables in script engine directive
  • Added //css_searchdir directive
  • Added interactive environment CSI
  • Script caching algorithm for hosted script execution is extended to retain compiled script cache between the host application sessions.
  • Changes in the CLR target selection approach ("Target Framework" instead of "CLR Version")
  • Added new scripts to the Script Samples Library
    - Samples/Hosting/Sandboxing/*.cs   
    - Samples/Hello.js
    - Samples/ErrorLevelTester.cs

Copyright (C) 2004-2008 Oleg Shilo