[Mono-winforms-list] System.Windows.Forms.MainMenuinitialization

Dan Maltes dan at astusa.com
Fri Dec 1 14:10:05 EST 2006

There are also a few MoMa lists here:

- Dan Maltes

-----Original Message-----
From: mono-winforms-list-bounces at lists.ximian.com
[mailto:mono-winforms-list-bounces at lists.ximian.com] On Behalf Of
Jonathan Pobst
Sent: Friday, December 01, 2006 10:10 AM
To: Matthias Urlichs
Cc: mono-winforms-list at ximian.com; jordi at ximian.com
Subject: Re: [Mono-winforms-list]


The problem is that constructor for MainMenu is new in the SWF 2.0
framework.  Currently, only the SWF 1.1 framework is supported.

You can run MoMA on your program to see what all it uses that Mono does
not support yet: http://www.mono-project.com/MoMA.

Unfortunately, without the source code, you can't really change your
program to work around it.  You'll have to either add the missing stuff
to Mono yourself, or wait for it to be added.


Matthias Urlichs wrote:
> Hi,
> I just tried to run a .NET program (no sources available) which uses
> Unfortunately, I seem to have run into an initialization error.
> $ MONO_PATH=/tmp/Mono ./SleepTracker.exe
> ** (./SleepTracker.exe:5817): WARNING **: Missing method 
> System.Windows.Forms.MainMenu::.ctor(IContainer) in assembly 
> /tmp/Mono/System.Windows.Forms.dll, referenced in assembly 
> /daten/home/smurf/Downloads/SleepTracker.exe
> Unhandled Exception: System.MissingMethodException: Method not found:
>   at <0x00000> <unknown method>
>   at SleepTracker.frmMain..ctor () [0x00000] 
>   at (wrapper remoting-invoke-with-check) SleepTracker.frmMain:.ctor
>   at SleepTracker.frmMain.Main () [0x00000]
> /tmp/Mono/System.Windows.Forms.dll was built from current SVN, using 
> Ubuntu Edgy's mcs (
> I don't know much about .NET; help is appreciated.
> Please Cc me on replies. Thanks.

Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com

More information about the Mono-winforms-list mailing list