运行捆绑的可执行文件Ubuntu服务器

运行捆绑的可执行文件Ubuntu服务器,ubuntu,mono,monodevelop,Ubuntu,Mono,Monodevelop,我正在Ubuntu上运行一个gtk“Hello World”应用程序。 我已经使用以下命令创建了.exe包。(参考:) mkbundle——静态hello.exe-o hello 现在,我正尝试使用以下命令在fresh ubuntu服务器上运行此捆绑应用程序: anand@anand-新鲜Ubuntu:~桌面$。/您好 出现以下错误: 未处理的异常:System.TypeInitializationException:异常 由Gtk的类型初始值设定项引发。应用程序---> System.Entr

我正在Ubuntu上运行一个gtk“Hello World”应用程序。 我已经使用以下命令创建了.exe包。(参考:)

mkbundle——静态hello.exe-o hello

现在,我正尝试使用以下命令在fresh ubuntu服务器上运行此捆绑应用程序:

anand@anand-新鲜Ubuntu:~桌面$。/您好

出现以下错误:

未处理的异常:System.TypeInitializationException:异常 由Gtk的类型初始值设定项引发。应用程序---> System.EntryPointNotFoundException:在上支持glibsharp\u g\u线程 (包装器管理为本机)GLib.Thread:glibsharp_g_Thread_受支持 ()位于GLib.Thread.get_受支持()[0x00000]中:0 在Gtk.Application..cctor()[0x00000]中:0--- 内部异常堆栈跟踪的结束---Test.MainClass.Main (System.String[]args)[0x00000]位于:0[错误] 致命的未处理异常:System.TypeInitializationException:异常 Gtk的类型初始值设定项引发了异常。应用程序---> System.EntryPointNotFoundException:在上支持glibsharp\u g\u线程 (包装器管理为本机)GLib.Thread:glibsharp_g_Thread_受支持 ()位于GLib.Thread.get_受支持()[0x00000]中:0 在Gtk.Application..cctor()[0x00000]中:0--- 内部异常堆栈跟踪的结束---Test.MainClass.Main (System.String[]args)[0x00000]位于:0中

此计算机上已安装mono complete


提前感谢。

问题是,尽管mkbundle包括托管程序集,但它不包括它们p/调用到的本机库,在本例中为libglibsharpglue。

是的,使用mono framework。那么,运行mono开发的捆绑包的最佳方法是什么?