[Mono-osx] Odd behavior with MonoMac

JayDZimmerman mono at zimmail.us
Mon Jun 4 01:14:10 UTC 2012

In an effort to take advantage of the Xcode interface, I upgraded all of my
components. I first removed pre-existing versions of Xcode, the Mono
framework and MonoDevelop, and then installed the following:
Xcode 4.2 for Snow Leopard
Mono framework 2.10.9_11
MonoDevelop 3.0.2

I am now seeing an odd issue that seems to be unique to me (at least from my
Google searches), so it may be some mistake on my part. The constructors in
my "AppDelegate" and "MainWindowController" classes are never being called.

>From within MonoDevelop, I create a new MonoMac Project. I then add a
"Console.WriteLine()" statement to the "Initialize" method of the
"MainWindowController" class with a breakpoint, build the project and debug
it. The MainWindow shows as expected, but nothing else.

I cannot locate any glaring problems in the C# code or from within Xcode,
and the project files are not being changed from the way MonoDevelop created
them, so I'm not sure where to look.

Jay D Zimmerman

View this message in context: http://mono.1490590.n4.nabble.com/Odd-behavior-with-MonoMac-tp4649690.html
Sent from the Mono - OSX mailing list archive at Nabble.com.

More information about the Mono-osx mailing list