ILMerge 和 NHibernate?
我知道我不允许将 NHibernate 合并到我的“商业”软件中,但是将 NHibernate 所需的所有程序集直接合并到 NHibernate.dll 会怎么样?
I know I am not allowed to merge NHibernate to my "commercial" software but what with merging all assemblies required by NHibernate directly to NHibernate.dll?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
从技术上讲,您也许能够做到这一点,但在大多数情况下,将程序集嵌入为资源比使用 ILMerge 更有可能产生工作结果。
甚至 ILMerge 的作者也承认,如果他知道如何进行汇编嵌入,他可能永远不会编写 ILMerge。
更多详细信息,请访问:https://stackoverflow.com/a/8964905/63225
You might be able to do that, technically, but in most cases, embedding assemblies as resources is more likely to product working results than is using ILMerge.
Even the author of ILMerge admitted that he might have never written ILMerge if he had known how to do assembly embedding.
Much more detail at: https://stackoverflow.com/a/8964905/63225