如何将 MONO Runtime 与您的应用程序打包在一起?

发布于 2024-11-17 06:22:17 字数 177 浏览 5 评论 0原文

我讨厌 .NET 程序希望您下载 .NET Framework 来运行它们,因此我正在考虑将 MONO 运行时嵌入到我的程序中。是否有任何第三方软件可以轻松完成此操作,或者我需要手动或通过 C/C++ 完成此操作?另外,需要多少额外的硬盘空间,这样做有什么缺点吗?

PS如果我需要用C/C++来做,你能给我一些示例代码吗?

I hate how .NET Programs want you to download the .NET Framework to run them , so I was thinking of embedding the MONO Runtime with my program. Is there any third party software for doing it easily or would I need to do it by hand or by C/C++? Also , how much extra hard drive space would it need and are there any disadvantages of doing this?

P.S If I need to do it with C/C++, can you give me some example code?

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

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

发布评论

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

评论(3

枯叶蝶 2024-11-24 06:22:17

有趣的想法 - 看起来 Icaza 先生已经在此处详细记录了如何做到这一点。

Interesting idea - it looks like Mr. Icaza has documented exactly how to do that here.

ヅ她的身影、若隐若现 2024-11-24 06:22:17

您可以将 Microsoft .NET Framework 4 可再发行包与您的应用程序一起分发。

看看 smallestdotnet.com

You can distribute the Microsoft .NET Framework 4 redistributable package alongside your application.

Have a look at smallestdotnet.com.

酷遇一生 2024-11-24 06:22:17

这个问题是老问题了。但这是 Google 给我的第一个 StackOverflow 链接。

因此,对于在谷歌搜索后登陆这里的任何人:

  • 看看 mkbundle 作为 Mono 项目 SDK 一部分的实用程序。
  • 有关更多详细信息,请参阅此问题

This question is an old one. But it's the first link to the StackOverflow that Google gave me.

So for anyone else who lands here after googling:

  • Take a look at the mkbundle utility that is a part of the Mono project's SDK.
  • And see this question for more details.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文