Hacker News new | past | comments | ask | show | jobs | submit login

My (very vague) memory is that NGen is run at installation time

As far as I know, ngen is only used if you decide to use it. There's nothing automatic about installed code being ngen'ed.




Native image generation differs based on the platform. There is automatic native image generation in Windows: see http://msdn.microsoft.com/en-us/library/hh691758.aspx for details. There's also Triton on Windows Phone: http://channel9.msdn.com/Events/Build/2012/3-005.

In the classic Windows Desktop case, however, you're right: you need to NGen your code yourself or call NGen as a custom action from your installer. --Andrew Pardoe [MSFT]




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: