Wednesday, September 05, 2007

Embedding IronPython in a Silverlight (C#) Application

I previously blogged about how to use the IronPython engine from inside a compiled C# Silverlight assembly. This worked fine when you used the resulting assembly from IronPython, but not when used standalone! This was due to a bug in the platform assumptions that the DLR makes, but with help from the IronPython mailing list a workaround has been found:
It means a bit of extra boilerplate code, but hopefully before Silverlight 1.1 final this code will have moved into the DLR and all will be rosy again...

Oh, and by the way... IronRuby is now Live on RubyForge. John Lam has build instructions and news on the latest updates on his blog.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.