tags:

views:

82

answers:

1

I've found a few interesting links on using NGEN as a final step in an installer from this post. Is there a reason it is preferred to NGEN your assemblies at setup time, instead of at build time? I'm not particularly concerned with setup time, but it just seems like an unnecessary step that could be automated by my build.

+4  A: 

NGEN output is computer/CPU specific. your build machine will probably not be the production machine (maybe different DotNet version, AMD ? INTEL... who knows..)

Dani
Ahhhhhhhhh, I missed that in the MDSN docs. Fail :-)Thanks, though, that is the info what I was looking for.
unforgiven3
NP :-) not enough vendors uses this feature, so I guess a lot are not aware of it at all...
Dani