PC Review Forums Newsgroups Microsoft DotNet Microsoft VB .NET NGen.exe

Reply

NGen.exe

 
Thread Tools Rate Thread
Old 06-12-2004, 04:15 PM   #1
Brian
Guest
 
Posts: n/a
Default NGen.exe


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


  Reply With Quote
Old 06-12-2004, 04:25 PM   #2
Herfried K. Wagner [MVP]
Guest
 
Posts: n/a
Default Re: NGen.exe

"Brian" <bbeach01@optonline.net> schrieb:
> 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.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

  Reply With Quote
Old 06-12-2004, 08:50 PM   #3
LM
Guest
 
Posts: n/a
Default Re: NGen.exe


> 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


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.805 / Virus Database: 547 - Release Date: 03/12/2004


  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off