I have some questions/problems regarding using minifier tool. I have tested both assembly and xap minifier. It looks like that assembly is working ok but the results are not as good as I need. As I understad assemly minifier works on control basis, so if I select GridView all needed classes for GridView are mantained. Xap minifier on the other hand works on classes and all not needed classes are removed and you get beter result. Is this correct?
The problem with xap minifier is that I have project where xap is very small only 20 kb for loader, then I have additional assemblies which are downloaded at startup or on demand. So for minifier I created xap file where all my and telerik assemblies are referenced and I try to minify it. But the problem is that, as I see, minifier only check classes that are inside assemly that is set in EntryPointAssembly (from AppManifest.xaml). So minifier strip way to much. Then I set EntryPointAssembly to assemly that reference most telerik controls and I get running applicatiio but still some parts are not working. So how can I solve this problem?
It will be really great if this tool works also on other libraries! And for xap minifier is almost urgent that this tool is offline. Why? For example I deploy new version of software with xap minified versions of telerik assemblies. Than I discover that I make a bug and this bug requires changed minified telerik libraries and your site is down or some other kind of internet problem. Then I'm in big truble..;);)
The next interesting thing with minifier is that there is no need for separate telerik dlls. Maybe there should be one telerik.dll with all controls and after minifing it, you would probaly end with one assemly which is smaller because there is no overhead of every dll and also startup will be faster.
So ideal situation will be:
- take telerik assembly with all controls for specific theme
- build project
- use minifier
I think this will be the smallest and fastest solution.
Thanks for your answers and have a nice day