简体   繁体   English

分发NGEN之前的程序集是否有意义?

[英]Does it make sense to distribute pre-NGEN-ed assemblies?

I've found a few interesting links on using NGEN as a final step in an installer from this post . 我发现使用NGEN从在安装最后一步了几个有趣的链接这一职位 Is there a reason it is preferred to NGEN your assemblies at setup time, instead of at build time? 有没有理由在建立时而不是在构建时NGEN你的程序集? I'm not particularly concerned with setup time, but it just seems like an unnecessary step that could be automated by my build. 我并不特别关心设置时间,但它似乎是一个不必要的步骤,可以通过我的构建自动化。

NGEN output is computer/CPU specific. NGEN输出是计算机/ CPU特定的。 your build machine will probably not be the production machine (maybe different DotNet version, AMD ? INTEL... who knows..) 你的构建机器可能不会是生产机器(也许不同的DotNet版本,AMD?INTEL ......谁知道..)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM