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

守給你的承諾、 提交于 2019-12-21 20:33:18

问题


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.


回答1:


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



来源:https://stackoverflow.com/questions/1779093/does-it-make-sense-to-distribute-pre-ngen-ed-assemblies

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!