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

User [email protected] added comment
http://bugzilla.novell.com/show_bug.cgi?id=537248#c1


Jonathan Pryor <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|                            |WONTFIX




--- Comment #1 from Jonathan Pryor <[email protected]>  2009-09-07 14:34:32 MDT 
---
The problem is the linker, as it's removing the default constructor (as it
isn't referenced unless you include the commented-out block in Main.cs).

The fix is to do one of the following:

1. Reference the constructor so that the linker knows that the constructor is
required (i.e. include your commented-out code block).

2. Provide the -nolink parameter to mtouch.  This will disable all linking.

3. Provide the -linksdkonly parameter to mtouch.  This will link only the
MonoTouch SDK assemblies, and not your application's assemblies.

(2) and (3) may have some GUI counterparts in MonoDevelop, though I do not know
what they are.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to