分发预先经过 NGEN 处理的程序集是否有意义?

发布于 2024-08-11 15:34:03 字数 224 浏览 2 评论 0原文

我从 这篇文章。是否有理由在设置时而不是构建时优先使用 NGEN 程序集?我并不特别关心设置时间,但这似乎是一个不必要的步骤,可以通过我的构建自动化。

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

子栖 2024-08-18 15:34:03

NGEN 输出是计算机/CPU 特定的。您的构建机器可能不是生产机器(可能是不同的 DotNet 版本、AMD ? INTEL...谁知道...)

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文