This is a migrated thread and some comments may be shown as answers.

Minifier removes the CountFunction

1 Answer 32 Views
Telerik Minifier
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 30 Jul 2013, 05:56 PM
When I run the Minifier on my assemblies it removes the CountFunction.  Is there a fix for that?

1 Answer, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 02 Aug 2013, 12:45 PM
Hi Mike,

The Telerik minifier tool strips down all code from the assemblies, that isn't used by the checked RadControls. This is why if the CountFunction isn't used by any of the controls you checked, it will not be included in the minified assemblies. Unfortunately at the moment there is no approach for getting over that issue. And as the tool has many other known limitations, at the moment it might not be your best option.

Instead you can check out this blog post that elaborates on different ways for reducing the size of your XAP. Also, with the Q1 SP1 2012 release we started providing no-xaml version of our assemblies. They are smaller as all xaml is stripped down so that you can use the controls' logic but add in your application only the xaml styles for the RadControls you need.

Regards,
Tina Stancheva
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
Telerik Minifier
Asked by
Mike
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Share this question
or