是否可以在 SharpDevelop 中编译时运行 ILMerge?

发布于 2024-10-02 17:05:54 字数 379 浏览 0 评论 0原文

我想提供我的 .Net 库(我正在 SharpDevelop IDE 中开发) )作为单个 dll。我一直在手动使用 ILMerge 将我编译的库及其所有参考库合并在一起,但希望自动完成此操作。

理想情况下,我希望在 SharpDevelop 内部进行自动合并,而无需设置外部构建脚本。这可能吗?

I'd like to offer my .Net library (which I'm developing in the SharpDevelop IDE) as a single dll. I've been manually using ILMerge to merge my compiled library and all its reference libraries together, but would like this done automatically.

I'd ideally like to have this automatic merge happen from within SharpDevelop, without having to set up an external build script. Is this possible?

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

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

发布评论

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

评论(1

贱人配狗天长地久 2024-10-09 17:05:54

SharpDevelop 使用 MSBuild 来编译您的代码,因此最简单的方法是创建一个 构建后步骤 使用正确的参数运行 ILMerge。您可以从“构建事件”选项卡下的“项目选项”创建构建后步骤。或者,您可以直接在记事本中编辑项目文件。

SharpDevelop uses MSBuild to compile your code so the simplest way would be to create a post build step that runs ILMerge with the correct parameters. You can create a post build step from the Project Options under the Build Events tab. Alternatively you can directly edit your project file in Notepad.

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