Go Back   Velocity Reviews > Newsgroups > MCSD
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

MCSD - NGen.exe

 
Thread Tools Search this Thread
Old 12-06-2004, 04:15 PM   #1
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




Brian
  Reply With Quote
Old 12-06-2004, 04:25 PM   #2
Herfried K. Wagner [MVP]
 
Posts: n/a
Default Re: NGen.exe
"Brian" <> 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/>



Herfried K. Wagner [MVP]
  Reply With Quote
Old 12-06-2004, 08:50 PM   #3
LM
 
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




LM
  Reply With Quote
Old 12-07-2004, 05:15 PM   #4
The Poster Formerly Known as Kline Sphere
 
Posts: n/a
Default Re: NGen.exe
>BTW: I don't see how this question is related to the group
>microsoft.public.cert.exam.mcsd.


Well apart from the fact the message was cross posted, I'd say this is
about as on topic a post you're likely to get without in some way
breaking the nda. Understanding the gac and installing dot net
applications is covered on the exams, at least it was when i did them,
so to me it's a perfectly acceptable question.

Anyway back on topic, anyone got any braindumps 54-321

Kline Sphere (Chalk) MCNGP #3


The Poster Formerly Known as Kline Sphere
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46