3 ms·
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 in
by josteink 13y ago
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.
- apardoe 13y agoNative 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 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 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]