[Mono-list] Some general advice for a newbie, please

peter apvx95@dsl.pipex.com
Fri, 31 Dec 2004 18:54:22 +0000

Paul wrote:

>Makes no difference. If you've removed cairo, cairo-devel and libpixman
>(-devel) and downloaded them fresh from cvs, then compiled pixman, then
>cairo, everything should be fine
That appears to have been it Paul.  I didn't have libpixman-devel.  I 
installed it and everything worked OK.


When I now go back to my program, I still get the same error.  Here's 
the contents of frmHelloWindows.cs:

using System;
using System.Windows.Forms;
using System.Drawing;

class HelloWindowsForms {
    static void Main() {
        MessageBox.Show("Welcome to the Bill-free zone!");

I then do:

peter@linux:~/Projects/HelloWindowsForms> mcs frmHelloWindows.cs 
/r:System.Windows.Forms.dll /r:System.Drawing.dll
Compilation succeeded
peter@linux:~/Projects/HelloWindowsForms> mono frmHelloWindows.exe

Unhandled Exception: System.TypeInitializationException: An exception 
was thrown by the type initializer for System.Windows.Forms.Win32 ---> 
System.DllNotFoundException: winelib.exe.so
in <0x00050> (wrapper managed-to-native) 
System.Windows.Forms.Win32:WineLoadLibrary (string)
in <0x00390> System.Windows.Forms.Win32:.cctor ()
--- End of inner exception stack trace ---

in (unmanaged) System.Windows.Forms.MessageBox:Show (string)
in <0x00023> System.Windows.Forms.MessageBox:Show (string)
in <0x0000f> HelloWindowsForms:Main ()


So, not that then.

Does anyone know how I can get hold of a copy of monodevelop, given that 
I can't get to their website?  I must have installed my previous 
download without saving the rpms to disk.  Most unlike me.