ngen.exe for .net compact framework

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Can ngen.exe be used for .net compact framework applications?
or are there any such tools?

what I would like to know is, if not, why cant it be?
is this because that assemblies on .net compact framework platform are
different than the
..net framework assemblies and are in addressable block format
since the devices do not have Memory Management Unit?

thanx
rifat
 
No, CF assemblies cannot be precompiled like full framework assemblies.

--
Chris Tacke
Co-founder
OpenNETCF.org
Are you using the SDF? Let's do a case study.
Email us at d c s @ o p e n n e t c f . c o m
http://www.opennetcf.org/donate
 
The reason it is not supported is due to size. The JITter produces native
code that is larger than the managed code. Having both on your device would
take up to much space. This is also the reason that on the CF JITted code is
pitched when memory pressure occurs unlike the full framework where the GC
never collects JITted code. Even without the pitching, since code is only
JITted on demand, the only native code you carry is the one you are actually
using.

Cheers
Daniel
 
Back
Top