2

我一直在尝试让我的 C# winforms 应用程序使用 Mono 在 Linux 和 Mac 上运行。该程序使用以下方法运行并正常工作:

mono <path-to-exe>

但是,我想将 Mono 与程序打包,所以我一直在使用 mkbundle 命令。我的确切输入是这样的:

mkbundle --deps -o <project-name> <path-to-exe> <path-to-3rd-party-dll>

Mono 似乎可以很好地嵌入所有 dll(最后是第 3 方),但随后输出此错误:

AS = as (default)
as -o temp.o temp.s
'as' is not recognized as an internal or external command,
operable program or batch file.
ERROR: [Fail] 1

关于问题出在哪里的任何线索?

4

0 回答 0