[Mono-bugs] [Bug 548126] Get cast exception when calling Runtime.GetNSObject()

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Nov 2 15:25:32 EST 2009


http://bugzilla.novell.com/show_bug.cgi?id=548126

User duane at wandless.net added comment
http://bugzilla.novell.com/show_bug.cgi?id=548126#c5





--- Comment #5 from Duane Wandless <duane at wandless.net>  2009-11-02 13:25:31 MST ---
gen.dll is built with:

using MonoTouch.Foundation;
using MonoTouch.UIKit;
using System.Drawing;

namespace Cocos2D
{
    [BaseType (typeof (NSObject))]  
    interface Director
    {
        [Static, Export ("sharedDirector")]  
        Director SharedDirector();  
    }
}

/Developer/MonoTouch/usr/bin/btouch gen.cs -outdir=./tmp

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list