I'm not aware of any working example of this. In theory you can do it by hand by just taking the resulting DLL that gets compiled on the desktop and updating all of the assembly versions to be the Silverlight assembly versions. That can be done by sending it through ildasm/ilasm. You'd need to update all of the IronPython and DLR assemblies as well as mscorlib and System all of which have different versions on Silverlight vs the desktop CLR.
> -----Original Message----- > From: [email protected] [mailto:users- > [email protected]] On Behalf Of Lukas Cenovsky > Sent: Sunday, November 22, 2009 1:27 PM > To: Discussion of IronPython > Subject: [IronPython] Compiling .py to .dll to use with Silverlight > > Hi, > I'd like to know status of the $subj. I have found some discussions > (e.g. Michael tried to use pyc or > http://sdlsdk.codeplex.com/Thread/View.aspx?ThreadId=52207&ANCHOR > <http://sdlsdk.codeplex.com/Thread/View.aspx?ThreadId=52207&ANCHOR>) but > no working example - is there any? And if not will be any? :-) > Thanks. > > -- > -- Lukáš > > _______________________________________________ > 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
