[Mono-list] Can't Port Winforms App [newbie]

sgc9812 sgc9812 at gmail.com
Sun Jan 8 09:04:00 EST 2012

Resolved!!!  Newbie error.

Invoking: "mono MyApp.exe > error.log" [with MONO_LOG_LEVEL set to "debug"]
generates a 3000-line log file.

Invoking: "mono --debug MyApp.exe > error.log" generates a 1-line log file. 
It complained that the SplitContainer doesn't implement an interface.

I removed the SplitContainer and MyApp executes as expected.

FYI - The 3000-line log file also complained about SplitContainer [on the
last line], but as Robert pointed out, I was misinterpretting [the early
entries in] the log file [rather than focussing on the last entries].

Should the Mono 
http://www.mono-project.com/Guide:_Porting_Winforms_Applications Guide:
Porting Winforms Applications  be updated to introduce newbies to the
"--debug" switch?

Robert Jordan wrote
> On 07.01.2012 15:43, sgc9812 wrote:
>> Log file is attached...
>> http://mono.1490590.n4.nabble.com/file/n4273121/error.log error.log
> You're misinterpreting the logs. Mono is probing for X11 libs even
> under Windows.
> To be able to see the console output (and possible exceptions),
> you should invoke your app like this:
> mono --debug MyApp.exe
> Robert
> _______________________________________________
> Mono-list maillist  -  Mono-list at .ximian
> http://lists.ximian.com/mailman/listinfo/mono-list

View this message in context: http://mono.1490590.n4.nabble.com/Can-t-Port-Winforms-App-newbie-tp4270054p4275719.html
Sent from the Mono - General mailing list archive at Nabble.com.

More information about the Mono-list mailing list