Basically the AssemblyMinifier
tool extracts from the assemblies only those classes that are used in the selected RadControls
's classes. The tool searches recursively through the main class that describes the selected RadControls
and then though every other related to these controls class. This way a set of classes is extracted so that a minified assembly is created.
Therefore if the controls you selected during the minimization process don't use the Telerik.Windows.Controls.Selector
class, its implementation will be stripped out of the Telerik.Windows.Controls
minified assembly. And if you want to include it in the assembly, you will need to check a control that uses the class. For example if you minify the Telerik.Windows.Controls.dll
along with the Telerik.Windows.Controls.Navigation.dll
and check the RadTabControl
from the Navigation
assembly, the Telerik.Windows.Controls.Selector
class won't be stripped out from the Controls
However, there is a feature request in our PITS
to implement a feature in the AssemblyMinifier
to allow you to manually define which classes to include in the minified assembly. You can vote for the feature thus increasing its priority.
Ad for the other question, the xap file should include only assemblies required by your application and if the Telerik.Windows.Data.dll assembly is included in the XAP file, then it should be included as a referenced assembly somewhere in your solution.
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>