DLR Scripting within Silverlight 4 Application -
DLR Scripting within Silverlight 4 Application -
i add together scripting back upwards silverlight 4 application i'm working on. have latest stable releases of both ironruby , ironpython installed on machine visual studio 2010. looked @ samples of using scriptengine class both ironruby , ironpython. got work in little windows forms app create sure code works. however, can't seem add together reference required assemblies/dlls silverlight 4 application.
here's scriptengine code:
scriptengine engine = ruby.createengine(); engine.runtime.globals.setvariable("mainpage", this); string code = "mainpage.txttitle.text = \"hello ironruby!\""; engine.execute(code);
and, here's using statements requires:
using ironruby; using microsoft.scripting.hosting;
when seek add together reference next assemblies/dlls ironruby 1.0 release, visual studio 2010 doesn't allow me add together them , provides no exception message why. result unable compile solution.
ironruby.dll ironruby.libraries.dll ironruby.libraries.yaml.dll microsoft.dynamic.dll microsoft.scripting.debugging.dll microsoft.scripting.dll
i assume reason visual studio 2010 isn't letting me add together assemblies/dlls because compiled .net , not silverlight.
does know can silverlight 4 versions of assemblies or i'm doing incorrectly?
any help appreciated. thanks!
the silverlight versions both ironruby 1.0 , ironpython 1.0 hidden in ironruby 1.0 .net 2.0 sp1 (zip archive) downloadable http://ironruby.codeplex.com/releases. in zip silverlight\bin.
the ironruby 1.1 silverlight release available. ironpython 1.1 silverlight found. dlr isn't getting love microsoft deserves, little documentation, binaries hard find, future ironruby , ironpython doesn't bright...
silverlight scripting ironpython ironruby dynamic-language-runtime
Comments
Post a Comment