2 ms·
Won't this break XML serialzation? At least, several years ago, XML serialization used to go compile code (call csc on files) at runtime or something crazy like
by MichaelGG 17y ago
Won't this break XML serialzation? At least, several years ago, XML serialization used to go compile code (call csc on files) at runtime or something crazy like that. We were never able to make our dynamically loaded assemblies work well with XML serialization. I tried a commercial product a while later and it too had that issue.
Kudos on LMZA - I wish Silverlight would have used that instead of just zip. It'd make a pretty big impact on size.
- daeken 17y agoNope, this works fine with reflection generally. That sort of introspection, however, will be incompatible with the obfuscation done in the future. I aim to detect where it happens, and at least say "hey, this flag is being ignored since it's going to break things". As for LZMA, it has a huge impact for sure, but until assembly merging and dead code analysis are in place, the impact on Silverlight assemblies is going to be pretty slim. Dotpack does wonders on standalone binaries as it stands (compresses NVidia FX Composer to just over 20% of its original size, for instance), but most Silverlight assemblies only get a 10-20% decrease right now. I'm looking forward to getting the Silverlight side stable and as high quality as the standalone side.