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-boun...@lists.ironpython.com [users-boun...@lists.ironpython.com] on behalf of Dody Gunawinata [empirebuil...@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>
_______________________________________________ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com