<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle">P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</style>
</head>
<body fPStyle="1" ocsi="0">
<div style="FONT-FAMILY: Tahoma; DIRECTION: ltr; COLOR: #000000; FONT-SIZE: 13px">
<div>Dody,</div>
<div>&nbsp;</div>
<div>That blog post should work against 2.6 RC3; the method your looking for is&nbsp;a static method:&nbsp;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.</div>
<div>&nbsp;</div>
<div>~js</div>
<div>&nbsp;</div>
<div style="FONT-FAMILY: Times New Roman; COLOR: #000000; FONT-SIZE: 16px">
<hr tabindex="-1">
<div style="DIRECTION: ltr" id="divRpF706646"><font color="#000000" size="2" face="Tahoma"><b>From:</b> users-bounces@lists.ironpython.com [users-bounces@lists.ironpython.com] on behalf of Dody Gunawinata [empirebuilder@gmail.com]<br>
<b>Sent:</b> Thursday, December 10, 2009 1:41 AM<br>
<b>To:</b> Discussion of IronPython<br>
<b>Subject:</b> [IronPython] Embedding IronPython in Silverlight<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">What are the necessarily libraries for embedding IronPython in Silverlight for the 2.6 releases?
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>I tried yesterday to upgrade this to 2.6 RC 3 and failed.&nbsp;I tried using the technique on Jimmy's recent blog post,&nbsp;<a href="http://blog.jimmy.schementi.com/2009/11/embedding-ironpython-in-silverlight.html" target="_blank">http://blog.jimmy.schementi.com/2009/11/embedding-ironpython-in-silverlight.html</a>,
 I couldn't find the bloody&nbsp;<span style="FONT-FAMILY: 'Bitstream Vera Sans Mono',Courier,monospace; WHITE-SPACE: pre; FONT-SIZE: 13px" class="Apple-style-span"><span class="n">Silverlight</span><span class="p">.</span><span class="n">DynamicEngine</span><span class="p">.</span><span class="n">CreateRuntime</span><span class="p">()
 method anywhere even after linking to Microsoft.Scripting.Silverlight.dll</span></span></div>
<div>
<div><br>
</div>
<div>I linked to the following assemblies located under Silverlight\bin under IronPython 2.6 RC 3 zip.</div>
<div>- IronPython.dll</div>
<div>- IronPython.MOdules.dll</div>
<div>- Microsoft.Dynamic.dll</div>
<div>- Microsoft.Scripting.Core.dll</div>
<div>- Microsoft.Scripting.dll</div>
<div>- Microsoft.Scripting.Silverlight.dll</div>
<div><br>
-- <br>
<a href="http://nomadlife.org" target="_blank">nomadlife.org</a><br>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>