Page 1 of 1

Reduzing Runtime size?

Posted: Thu Dec 10, 2020 5:20 am
by anja_laenge
Hi,

using X12 we added the .NET Framework 4.8 runtime to a new project. The size of the resulting singlefile build increased by 1.4GB. Is there a way to reduze this? the corresponding folder inside \IA\runtimes\ seems to include stuff potentially not needed.

kind regards
Anja

Re: Reduzing Runtime size?

Posted: Thu Dec 10, 2020 3:33 pm
by FrancescoT
Not sure if you are applying any compression.

Using the default compression level, building a project that includes exclusively the .NET Framework 4.8 App Rtm, the generated compressed exe is about 110.000 kb in size.

At any rate, the corresponding folder inside "\IA\runtimes\", it includes components and dependencies which are all required to install the package on all the OS's supported by the package itself. Eventually, you may create your own App Rtm package which only targets specific OS's ...but honestly, I don't know if it's worth it.