Quantcast
Channel: Common Language Runtime Internals and Architecture forum
Viewing all articles
Browse latest Browse all 1710

NGen Questions #1install assembly while it is running - #2 recognize invalid native assemblies

$
0
0
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

Viewing all articles
Browse latest Browse all 1710

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>