单音 是微软的.NET框架的打开来源版本。 它实施大多后端框架特点,但不幸地,秋天平在它的相当少许面孔,当试图显示是的用户界面时-什么桌面apps是所有关于。
酒 在其他手,更加重要地(大部分)微软的Win32图书馆Linux口岸-窗口发展图书馆的核心附庸,和, win32接口元素。 与酒,您在Linux能跑许多传统C++ win32 executables,以某些局限。
单音最大的绊脚石是使用P/Invoke叫当地非被处理的win32 dlls -的GUI和.NET节目单音是一个纯净的.NET环境,并且不可能处理他们。 但从上面描述,那是 确切地
what WINE excel at… So can’t we use WINE + Mono to make just about any .NET program run on Linux fresh out of the .NET compiler?
Unfortunately, the answer is no. Back when the Mono project was first starting out, the Mono development team considered using WINE to implement the System.Windows.Forms namespace of the .NET Framework (which is practically 100% native C++ unmanaged win32 code in .NET wrappers). But they made the right choice in deciding to not take the easy way and go that route, leaving the integrity of the Mono project intact and focusing on true cross-platform user interface libraries instead (the GTK# is now the UI Library of choice for cross-platform .NET applications).
…