gpt4 book ai didi

c# - Windows 上的 mono mkbundle 实用程序

转载 作者:太空狗 更新时间:2023-10-30 01:12:23 27 4
gpt4 key购买 nike

已经有相当多的人提到了 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/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com