Minifier removes the CountFunction

Thread is closed for posting
2 posts, 0 answers
  1. Mike
    Mike avatar
    8 posts
    Member since:
    Feb 2011

    Posted 30 Jul 2013 Link to this post

    When I run the Minifier on my assemblies it removes the CountFunction.  Is there a fix for that?
  2. Tina Stancheva
    Tina Stancheva avatar
    3298 posts

    Posted 02 Aug 2013 Link to this post

    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.

    Tina Stancheva
    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 >>
  3. DevCraft banner
Back to Top