The error message is - ** (C:\PROGRA~1\MONO-1~1.4\lib\mono\1.0\mcs.exe:4692): WARNING **: Missing method .ctor in assembly \Progra~1\Mono-1.2.4\lib\mono\2.0\System.Windows.Forms.dll, type System.ComponentModel.InitializationEventAttribute
The command line I'm using is- mcs form1.cs form1.designer.cs -resource:form1.rex joystick.cs program.cs /out:main.exe -reference:..\..\..\common\dll\my.dll -reference:C:\Progra~1\Mono-1.2.4\lib\mono\2.0\System.Data.dll -reference:\Progra~1\Mono-1.2.4\lib\mono\2.0\System.Drawing.dll -reference:\Progra~1\Mono-1.2.4\lib\mono\2.0\System.Windows.Forms.dll Im really not sure about this command line. What is the correct way to handle the 'form1.rex' file? Is there an easier way to do the '-reference:..'? Then there's the error message? Thanks, -----Original Message----- From: Sanford Armstrong sanfordarmstrong-at-gmail.com |mono| [mailto:...] Sent: Wednesday, 23 May 2007 4:42 PM To: John Hilton Cc: [email protected] Subject: Re: [Mono-winforms-list] mcs and windows forms What is the error message? On 23 May 2007 05:43:09 -0000, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I'm trying to compile a c# program written in visual studio with 'mcs'. > It almost works, but comes up with an error message. > Is it currently possible to do this? > Could anyone please advise on the best way of doing it? I have typed the path and names of all the system.x components on the command line but am hoping there is an easier way. > thanks. > -WinXP-mono1.2.4 > _______________________________________________ > Mono-winforms-list maillist - [email protected] > http://lists.ximian.com/mailman/listinfo/mono-winforms-list > _______________________________________________ Mono-winforms-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-winforms-list
