How small can the binaries get?

Posts   
 
    
joshmouch
User
Posts: 34
Joined: 02-Dec-2004
# Posted on: 03-May-2007 02:51:47   

I am probably going to be using LLBLgen for a handheld application under development. However, the compiled Generic and Adapter assemblies, along with dependencies, are about 16.8 MB. When considering modem-speed syncs and that we need to update the assemblies often, this is just way too big.

I imagine that there are some options available to disable generation of parts of the generic code so that the entire assembly will be smaller. Can you point me in the right direction? What kind of size decrease can I expect?

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 03-May-2007 04:20:59   

How big is your app (how many entities, views, sp's..., how many winforms or webforms, how many resources files) ?

What TemplateSet (_Adpater | SelfServicing_) are you using?

Northwind app (in Adapter mode) final assemblies with their dependencies not exceed the 753,664 bytes. Also the GUI (With LLBLGen GUI Templates and all the bin necessaries) hold about 4.10 MB.

Also you can read the LLBLGenPro Help - Using the designer - Generating code - Task queue to execute tab, as you can disable some tasks you are not using (please be careful with this smile , always do a BK).

David Elizondo | LLBLGen Support Team
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39920
Joined: 17-Aug-2003
# Posted on: 04-May-2007 10:01:49   

16MB suggests you have a truckload of entities in the project. Do you need all of them on the handheld? Probably not. So you could cut down the code a lot by simply removing entities from the project till you have the set you want to use on the handheld and generate code with these.

Frans Bouma | Lead developer LLBLGen Pro