Hello,
C1XapOptimizer does not support optimizing Lightswitch applications.
Lightswitch runtime uses reflection hence it is generally speaking impossible to determine which types are really needed in a XAP. In fact, XapOptimizer warns about it in the pruning tab. Hence it cannot support Lightswitch optimization.
Thanks,
Richa