Reducing mono framework size for macOS application bundle

We are porting a rather big mostly .Net based application to macOS, consisting of multiple managed and native libraries and applications. We want to bundle the Mono.framework (4.8) in our application bundle.

But sadly the Mono.framework is rather large (about 1GB), and we do not need most of its features. We only need the runtime, and some very basic class libraries. No GTK or other GUI libraries, no debug symbols and no build tools (xbuild, mcs, etc.).

What is the minimum we need when bundling, and how do we identify what can be left out?

This question at Reduce Mono runtime size seems to indicate that we should build mono from source to get it down to around 180MB. Is this the preferred way and minimum size?

链接地址: http://www.djcxy.com/p/52220.html

上一篇: 将MyISAM转换为InnoDB。 有利? 后果是什么?

下一篇: 减少macOS应用程序包的单一框架大小