[IronPython] Dynamic keyword, Ironpython and Silverlight?

Zhi-Yue Sun sunzhiyue at 24x7lab.com
Sun Jun 6 11:55:24 CEST 2010


Did you add this reference Microsoft.CSharp.dll? You should add this
reference so that the dynamic keyword can work in the code.



On Sun, Jun 6, 2010 at 4:20 PM, Kristian Jaksch
<kristian.jaksch at gmail.com>wrote:

> Sorry if I've double sent this mail but I wasn't registred the first time
> and I'm not sure it got through:
>
> Is it possible to access IronPython code by using the dynamic keyword in
> Silverlight 4? I've found some examples like below:
>
>             var ipy = Python.CreateRuntime();
>             dynamic test = ipy.UseFile("test.py"); //This throws "The
> method or operation is not implemented."
>             test.Simple();
>
> But I cannot get it to work in Silverlight. You can see the error message I
> get. If it is possible, can someone point me to a working sample?
>
> Thanks for help!
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20100606/60943cf5/attachment.html>


More information about the Ironpython-users mailing list