SmartAssembly - 5.5

SmartAssembly

Learning SmartAssembly - 5.5

Using SmartAssembly with Silverlight

The process for using SmartAssembly with Silverlight applications is similar to the process for other types of application but you should be aware of the following point:

Silverlight .xap files are actually ZIP archives containing a manifest file (.xaml) and the required code, which is compiled as .dll files.

When you choose a .xap file in the project settings window, SmartAssembly reads the XAML file, and locates the DLL that is designated as the EntryPointAssembly.

It is that DLL which SmartAssembly treats as the main assembly. You can prune code from it, merge and embed dependencies and add error reporting code to it, in the usual way.

When you build the assembly, however, SmartAssembly will build the complete .xap file.

Some of SmartAssembly's features will not work with Silverlight applications due to technical limitations in Silverlight. The features which will not work are:

  • references dynamic proxy
  • compression and encryption of resources
  • prevent disassembly of the resulting IL
  • strings encoding with improved protection

Was this article helpful?

Search support
Forums
Visit the SmartAssembly forum.

SmartAssembly

all products