[Mono-osx] Monomac & Monodevel 3.0.2 problems

Michael Hutchinson m.j.hutchinson at gmail.com
Fri Jun 15 22:47:40 UTC 2012


On 12 June 2012 12:22, John Fourkiotis <john.fourkiotis at gmail.com> wrote:
> Hi,
>
> I've the following tools installed (as reported by Monodevelop) :
>
> ================================================================
> MonoDevelop 3.0.2
> Installation UUID: 33f53131-7730-4a0b-9e0c-714e6c54e649
> Runtime:
>        Mono 2.10.9 (tarball Mon May  7 20:25:51 EDT 2012)
>        GTK 2.24.10
>        GTK# (2.12.0.0)
>        Package version: 210090011
> Apple Developer Tools:
>         Xcode 4.3.2 (1177)
>         Build 4E2002
> Monotouch:
> Mono for Android not installed
> Build information:
>        Release ID: 30002000
>        Git revision: 046db1bb0d9d438aa4d3468d66c6f963bc44c51a-dirty
>        Build date: 2012-05-23 21:39:54+0000
>        Xamarin addins: d99a1741642a336943d5607bdc1a09efa2ac3b86
> Operating System:
>        Mac OS X 10.7.4
>        Darwin Hellen.local 11.4.0 Darwin Kernel Version 11.4.0
>            Mon Apr  9 19:32:15 PDT 2012
>            root:xnu-1699.26.8~1/RELEASE_X86_64 x86_64
> ================================================================
>
> I've encountered the following problems during my first endeavors in programming with Monomac:
>
> [1] When I create a new Monomac project and run it (without touching anything), the menu does not
> seem to be working correctly. Clicking on the first (and only) menu item shows no pull-down menu, and
> it just selects that item. The menu seems to be OK though in Xcode.
>
> [2] The breakpoints seem to be ignored. I've added breakpoints in AppDelegate.DidFinishLaunching and other
> methods, but the execution does not stop at all.
>
> [3] No matter what I do to Outlets (I've tested only NSTextField labels), they do not change their values. The connections
> seem to be OK, but nothing changes no matter what I do.
>
> The strange thing is that all samples that I've tried work fine. Could you help me ?

The value for the main NIB file (NSMainNibFile) in the Info.plist of
the default template in MD versions 3.0 through 3.0.2 was broken - it
should be MainMenu, not MainWindow. Fortunately it's easy to fix in
the Info.plist editor.

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Mono-osx mailing list