Using SmartAssembly in silverlight + MEF

.NET obfuscator and automated error reporting

Using SmartAssembly in silverlight + MEF

Postby Daní » Wed Apr 13, 2011 8:37 am


I'm trying the smart assembly tool because I'm interested, in obfuscte and reduce size of silverlight applications.
My application has a plugging architecture taking profit of MEF deployment catalogs. That means I have many small xaps that are downloaded on demand. Really, I have one small application that acts as a Splash, once this application is downloaded it downloads the main application. Main application contains the shell and all the common references used by satellits xaps. Satellits xaps are downloaded on demand and do not include any dll (all references are marked as CopyLocal=False) as main xap contains all needed dependencies.

Please, can somebody tell me if I can use SmartAssembly in this scenario and if I can give some guide to optimize and obfuscate the xaps so they can run together.

Posts: 1
Joined: Wed Apr 13, 2011 8:24 am

Postby Brian Donahue » Thu Apr 14, 2011 4:42 pm

I've given it a quick look and I can obfuscate several XAPs and load them dynamically, so in general this looks okay to do.

The pain points for obfuscation, though, are reflection and BAML not matching the method names in the DLL, so the more complex your project is in this regard, the more likely you are to run into trouble.
Brian Donahue
Posts: 6590
Joined: Mon Aug 23, 2004 9:48 am

Return to SmartAssembly 6

Who is online

Users browsing this forum: No registered users and 0 guests