Hi, I would like to use NGen to pre-compile my application (during the installation process). I already read a lot about that. But there are some questions left.
After I have installed the native image of my assembly in the cache - the image will be executed when I start the app.
But what happens if the native image becomes invalid for some reason?
#1: How can my program find out it is not running as native in the assembly cache?
#2: Is it possible to start "ngen update <myApp>" while <myApp> is running? (Will that work?)
I hope someone knows the answers to this questions and hopefully that person is so kind to share his knowledge.
Thanks, Morris
After I have installed the native image of my assembly in the cache - the image will be executed when I start the app.
But what happens if the native image becomes invalid for some reason?
#1: How can my program find out it is not running as native in the assembly cache?
#2: Is it possible to start "ngen update <myApp>" while <myApp> is running? (Will that work?)
I hope someone knows the answers to this questions and hopefully that person is so kind to share his knowledge.
Thanks, Morris