[IronPython] Embedding IronPython in Silverlight

Jimmy Schementi Jimmy.Schementi at microsoft.com
Thu Dec 10 18:31:36 CET 2009


Dody,

That blog post should work against 2.6 RC3; the method your looking for is a static method: Microsoft.Scripting.Silverlight.DynamicEngine.CreateRuntime. Take a look at the example again, I use a using statement to get rid of the Microsoft.Scripting part.

~js

________________________________
From: users-bounces at lists.ironpython.com [users-bounces at lists.ironpython.com] on behalf of Dody Gunawinata [empirebuilder at gmail.com]
Sent: Thursday, December 10, 2009 1:41 AM
To: Discussion of IronPython
Subject: [IronPython] Embedding IronPython in Silverlight

What are the necessarily libraries for embedding IronPython in Silverlight for the 2.6 releases?

My scenario is simply running snippets of Python codes inside oceans of C# based Silverlight code. This Silverlight application has already an embedded IronPython based on older binaries in 2.0 version.

I tried yesterday to upgrade this to 2.6 RC 3 and failed. I tried using the technique on Jimmy's recent blog post, http://blog.jimmy.schementi.com/2009/11/embedding-ironpython-in-silverlight.html, I couldn't find the bloody Silverlight.DynamicEngine.CreateRuntime() method anywhere even after linking to Microsoft.Scripting.Silverlight.dll

I linked to the following assemblies located under Silverlight\bin under IronPython 2.6 RC 3 zip.
- IronPython.dll
- IronPython.MOdules.dll
- Microsoft.Dynamic.dll
- Microsoft.Scripting.Core.dll
- Microsoft.Scripting.dll
- Microsoft.Scripting.Silverlight.dll

--
nomadlife.org<http://nomadlife.org>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20091210/9dabfba2/attachment.html>


More information about the Ironpython-users mailing list