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
2009-11-22 16:13:17
Ahhhhhhhhh, I missed that in the MDSN docs. Fail :-)Thanks, though, that is the info what I was looking for.
unforgiven3
2009-11-22 16:16:29
NP :-) not enough vendors uses this feature, so I guess a lot are not aware of it at all...
Dani
2009-11-22 16:17:49