[IronPython] Compiling .py to .dll to use with Silverlight

Jimmy Schementi Jimmy.Schementi at microsoft.com
Fri Jan 29 01:45:09 CET 2010


No update yet, but I'm planning on looking at it for my PyCon talk ...

~Jimmy


> -----Original Message-----
> From: users-bounces at lists.ironpython.com [mailto:users-
> bounces at lists.ironpython.com] On Behalf Of Lukas Cenovsky
> Sent: Thursday, January 28, 2010 3:52 PM
> To: Discussion of IronPython
> Subject: Re: [IronPython] Compiling .py to .dll to use with Silverlight
> 
> Any update on this issue? I'd like to see it working as it is quite an issue
> for business apps.
> 
> For others interested please vote:
> http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=25680
> 
> --
> -- Lukáš
> 
> 
> Michael Foord wrote:
> > Dino Viehland wrote:
> >> 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.
> >>
> >
> > For the record I tried this and it didn't work for me. The resulting
> > assembly uses StrongBox (from memory) and possibly other features not
> > available in CoreCLR.
> >
> > I would also love to see a solution to this as import time is a big
> > factor in the startup of IronPython Silverlight apps and pre-compiled
> > assemblies would help a lot.
> >
> > All the best,
> >
> > Michael
> >
> >>
> >>
> >>> -----Original Message-----
> >>> From: users-bounces at lists.ironpython.com [mailto:users-
> >>> bounces at lists.ironpython.com] 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
> >>> Users at lists.ironpython.com
> >>> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
> >>>
> >> _______________________________________________
> >> Users mailing list
> >> Users at lists.ironpython.com
> >> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
> >>
> >
> >
> 
> 
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com




More information about the Ironpython-users mailing list