6
Vote

Compiling with pyc.py for Silverlight

description

The .dlls produced by pyc.py cannot be used in Silverlight .xap file.
 
There are two motivations: mainly speeding up import time but also source code obfuscation.

comments

fuzzyman wrote Dec 15, 2009 at 10:47 AM

Import time in Silverlight is an issue.

fuzzyman wrote Jan 28, 2010 at 10:56 PM

This would be really useful for us at Comsulting.

Pablo_Dalmazzo wrote Mar 1, 2010 at 11:46 AM

Aparently they don't work in asp.net either

lance3d wrote Jul 23, 2010 at 3:45 PM

definitely a must feature!

slide_o_mix wrote Jul 4, 2012 at 7:23 PM

Can someone add a test case?

jdhardy wrote Jul 5, 2012 at 4:23 PM

This is going to be a huge pain, because pyc.py uses RefEmit, and RE is limited to generating assemblies for the current runtime only. To generate assemblies for different runtimes, it'll have to use IKVM.Reflection or something similar.

On the plus side, it'll allow generating assemblies for Android and Windows RT as well.

slide_o_mix wrote Jul 5, 2012 at 6:28 PM

I've thought about using IKVM.Reflection, I hadn't looked at its license to see if there are any issues with putting it into the IP repo and distributing it.