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 <[email protected]>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 > [email protected] > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > >
_______________________________________________ Users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
