Mono refuses to find and startup libs that are native and that programs rely on thus the program test.cs class test { static void Main() { System.Windows.Forms.MessageBox.Show("TEST"); } } properly compiled, started as mono ./test.exe produces greg@gregslaptop rmi $ mono ./test.exe Could not load winelib.exe.so Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.Win32 ---> System.DllNotFoundException: winelib.exe.so in <0x00053> (wrapper managed-to-native) System.Windows.Forms.Win32:WineLoadLibrary (string) in <0x00314> System.Windows.Forms.Win32:.cctor () --- End of inner exception stack trace --- in (unmanaged) System.Windows.Forms.Win32:MessageBoxA (intptr,string,string,uint) in <0x00026> System.Windows.Forms.MessageBox:Show (string) in <0x0000f> test:Main () Now the real keeper is that this lib is in /usr/lib as winelib.exe.so Reproducible: Always Steps to Reproduce:
I don't think we support winelib at this point.
Even with the lack of support I think that winelib will prove important as many developers will see this as an essential peice of the .net puzzle and will require windows Forms (me I am trying GTK~ right now) also mono-wine is provided which appears to give many of the same benefits, as soon as i am near a working computer I am going to try getting winelib and Windows forms working and into portage