[IronPython] Embedding IronPython in Silverlight
Jimmy.Schementi at microsoft.com
Thu Dec 10 09:31:36 PST 2009
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.
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users