NGen.exe

B

Brian

The Ngen documentations says that it installs a native image on the "local"
computer.

Does this mean that NGen needs to be run on each computer an app is deployed
to or do you run NGen once on the build machine when creating the msi?

I believe the former but I have read conflicting information.

Thanks,

Brian
 
H

Herfried K. Wagner [MVP]

Brian said:
The Ngen documentations says that it installs a native image on the
"local" computer.

Does this mean that NGen needs to be run on each computer an app is
deployed to or do you run NGen once on the build machine when creating the
msi?

You will have to run "ngen" on every machine. This will install the native
image into a special section called Native Image Cache of the GAC.

BTW: I don't see how this question is related to the group
microsoft.public.cert.exam.mcsd.
 
L

LM

Does this mean that NGen needs to be run on each computer an app is deployed
to

yes, you should run ngen on every pc because it will generate a different
exe file for any specific cpu
bye
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top