- c - 在位数组中找到第一个零
- linux - Unix 显示有关匹配两种模式之一的文件的信息
- 正则表达式替换多个文件
- linux - 隐藏来自 xtrace 的命令
已经有相当多的人提到了 Mono 实用程序 mkbundle,它应该(除其他外)允许您使用用 Mono 编译的 C# 项目创建一个包(独立的 .exe)。这在我在 Cygwin 中运行时有效,但是我真正想做的是使用 --deps
选项和 --static
选项来引入所有依赖项和图书馆,所以它真的是一个独立的。在 Cygwin 中运行命令时,它声称 --static
在当前平台下不受支持(我假设它指的是 windows)。那么问题是:
有什么办法可以解决这个难题吗?
如果没有,我现在需要携带什么特定的 .dll 和我的可执行文件才能运行它?它似乎没有在单声道网站上的任何地方列出。
谢谢!
最佳答案
http://linux.die.net/man/1/mkbundle :
On Windows systems, it it necessary to have Unix-like toolchain to be installed for mkbundle to work. You can use cygwin's and install gcc, gcc-mingw and as packages. (sic)
关于c# - Windows 上的 mono mkbundle 实用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/567595/
我有一个 .Net 程序,使用“mono Program.exe”可以正常工作,但现在我尝试在同一台机器上使用“mkbundle -o prog Program.exe --deps”,它返回以下错误
我有一个 Windows 服务,想在 Linux 上使用 Mono 运行。我可以使用单一服务将其作为服务运行,并且效果很好。 我还想mkbundle该应用程序以简化最终用户的部署,这样他们就不需要自己
我正尝试在 Linux 上使用 Mono 为我的 .net 应用程序创建一个包。当我执行如下 mkbundle 命令时 - $>mkbundle -o ConsoleApp ConsoleApp.ex
我正在尝试使用 mono 的 mkbundle 创建一个独立的 C# 应用程序,我安装了 Xcode 和 Mono 开发工具包(我确定它是 MDK 而不是运行时)。但是我运行 mkbundle 使用m
我可以从我的 MonoDevelop C# 项目成功构建一个捆绑的 exe,但是当我运行 bundle 时,它什么也没做;执行会立即安静地终止。我做错了什么? 我在 64 位 Windows 7 上使
我正在尝试构建 this C# program使用 MkBundle 以便用户可以在 Linux 上运行它而无需安装 Mono。 但在尝试使用构建的程序时,我总是遇到错误。 重现步骤: Git 克隆这
我可以使用 mkbundle 命令构建一个包。之后,当我尝试在另一个未安装 Mono 的 Linux 系统中运行该应用程序时,该应用程序未执行且没有错误。 最佳答案 单独使用 Mkbundle 将构建
我正在使用 mkbundle 并尝试创建一个使用 Isis2 的小程序 IdaTester 的嵌入式版本。该系统反过来使用依赖于 MonoPosixHelper 的 Mono 特性 我的问题是 mkb
我写了一些控制台“Hello world”之类的应用程序。并已关注 c# cywgwin mono mkbundle windows 7 - cannot compile file回答。但我有: $
我正在尝试构建一个需要在可能未安装 .NET 的环境中运行的控制台实用程序。 Mono 的 mkbundle 似乎是解决这个问题的好方法,但是当通过 cygwin 在 Windows 10 上的一个小
我正在尝试将我在 archlinux 上的 monodevelop 中制作的应用程序捆绑在一起。 在 monodevelop 中构建应用程序后,我将使用以下命令打包: mkbundle --deps
已经有相当多的人提到了 Mono 实用程序 mkbundle,它应该(除其他外)允许您使用用 Mono 编译的 C# 项目创建一个包(独立的 .exe)。这在我在 Cygwin 中运行时有效,但是我真
Mono 生成的普通 EXE 在 IL 中。我想生成 native 可执行文件,使用 mkbundle 生成 native Exe 还是应该使用 Mono AOT。 最佳答案 是的,mkbundle
尝试为可在 Linux 上运行的控制台创建一个独立的应用程序,工作环境在 Mac os x 10.7 上。 1.) 打开 Monodevelop 并创建新的解决方案,一个“C# 控制台项目”。 2.)
我正在尝试按照以下帖子使用 cygwin 构建一个嵌入了单声道的 c# 应用程序。 我正在按照此处的指南进行操作:How to convert a simple .Net console projec
我有一个小型 C# 应用程序,我想将其转换为 native 可执行二进制文件。csc Foo.cs 运行时没有警告,我可以毫无问题地运行应用程序:mono Foo.exe。 然而,当我启动 mkbun
我是一名长期的 C# 开发人员,但不熟悉 Mono,尤其是 Gtk#。我使用 C# 和 Gtk# 开发了一个小应用程序。我需要这个应用程序在 Windows、Linux 和 Mac 上运行,所以我决定
我有一个示例 .NET 应用程序可以在 Windows 上正常运行,而我的 Ubuntu 环境则使用单声道。 我正在尝试使用 Mkbundle 创建单个 native 程序集,以便我可以使用 busy
我一直在尝试使用 mkbundle 编译或捆绑我的应用程序。这是我正在执行的脚本: set -o errexit set -o nounset mono_version="3.2.3" export
我想看看是否可以通过使用 Mono 的 AOT(提前编译器)来减少 VM 延迟。如何运行 .so 文件? (抱歉,这个问题太初级了;我在 Mono 的文档中找不到简单的答案)。 我想出了如何使用 mk
我是一名优秀的程序员,十分优秀!