Deploy Mono application without Framework on Mac

不打扰是莪最后的温柔 提交于 2019-12-21 07:15:36

问题


I have a c#-program, that works well under Mono and on OSX, I also was able to create an app-directory for that program. Now I want to distribute it, but I don't want to force the user to install mono, since this is unusual under Mac (and has some side-effects, that I want to avoid).

I already tried to build a bundle with mkbundle, but mkbundle doesn't work correctly under Mac.

I should add, that I use GTK.

What is the easiest way to build a compleley independent app under Mac? Is there any good tutorial? Is there a good tool, that could help?


回答1:


Ask Miguel (December 9 2010 blog post)

MonoMac: we just released MonoMac 0.4 and we are now adding support for creating self-contained application bundles that developers can redistribute themselves or even submit to the Apple AppStore for MacOS.

MonoMac has been a lot of work, mostly, due to popular contributions. There is a nice emerging community of new contributors to Mono that has sparked in the last few weeks.




回答2:


Did you try macpack?

http://www.mono-project.com/Guide:Running_Mono_Applications




回答3:


It should be possible to use mkbundle in the linking of mono assemblies to produce a "portable app" with no requirement on installing the runtime.

http://www.mono-project.com/Linker



来源:https://stackoverflow.com/questions/4114086/deploy-mono-application-without-framework-on-mac

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!