Native Image Generator
What is the use of Native Image Generator (Ngen.exe) .
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Hemant KumarRank #1,202 · 1.5K reputationPosted Oct 30, 2011, 9:28 PM EDT
Ngen.exe helps in improving performance of managed applications by creating native images and storing them on the cache. At runtime, these native images are used instead of JIT to compile the original assembly. The native images contain processor specific machine code in a complied form. Native images can be shared across application domains. Invalid image causes have been eliminated. Different actions are provided by Ngen.exe. for e.g. Update re-creates images that have been invalidated, install Generates native images for an assembly and its dependencies.
refer this link
http://msdn.microsoft.com/en-us/library/6t9t5wcf%28v=VS.100%29.aspx