我正在尝试为我在 Ubuntu 14 上使用 monodevelop 制作的应用程序创建包。当我执行
mkbundle myapp.exe --deps -o myapp
抛出错误
Unhandled Exception:
System.IO.FileNotFoundException: Could not load file or assembly 'gtk-sharp' or one of its dependencies. The system cannot find the file specified.
File name: 'gtk-sharp'
at System.AppDomain.Load (System.String assemblyString, System.Security.Policy.Evidence assemblySecurity, Boolean refonly) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.AppDomain:Load (string,System.Security.Policy.Evidence,bool)
at System.Reflection.Assembly.ReflectionOnlyLoad (System.String assemblyString) [0x00000] in <filename unknown>:0
我在这里找到了适用于 windows 的解决方案How to make "mkbundle --deps" option working with mono 3.2.3 but nothing for ubuntu。
有人可以帮忙吗?