Using ILMerge.

The following video demonstrates how to configure XrmToolkit to use ILMerge when registering and updating a plugin assembly in CRM.