Release v3.11.0.0

Rating: No reviews yet
Downloads: 10142
Change Set: 36de41fe2731
Released: Feb 2, 2016
Updated: May 26, 2016 by oleg_s
Dev status: Stable Help Icon

Recommended Download

Application cs-script.7z
application, 9105K, uploaded Feb 3, 2016 - 7765 downloads

Other Available Downloads

Application cs-script.ExtensionPack.7z
application, 883K, uploaded Feb 3, 2016 - 1261 downloads
Application cs-scriptDocs.7z
application, 3654K, uploaded Feb 3, 2016 - 1116 downloads

Release Notes

This is an old release.

For the latest release pleases visit https://github.com/oleg-shilo/cs-script/releases


  • Implemented Async CSScript.Evaluator extensions for all public Evaluator API
  • Implemented Remoting CSScript.Evaluator extensions for unloading compiled script domain.
  • Added Roslyn server (VBCSCompiler.exe) to keep Roslyn compilers loaded between script executions. Significantly improves Roslyn performance.
  • Added support //css_nuget package dependency resolving.
  • Fixed problem with -force[:delay] switch colliding with other //css_nuget switches

Async extensions
var product = await CSScript.Evaluator
                            .LoadDelegateAsync
                                    <Func<int, int, int>>(
                                   @"int Product(int a, int b)
                                     {
                                         return a * b;
                                     }");

int result = product(4, 2);

Unloading loaded scripts
var sum = CSScript.Evaluator
                  .CreateDelegateRemotely<int>(@"int Sum(int a, int b)
                                                 {
                                                     return a+b;
                                                 }");

int result = sum(15, 3));

sum.UnloadOwnerDomain();

Reviews for this release

No reviews yet for this release.