[Mono-bugs] [Bug 649173] custom components with periods in their namespace won't load

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Nov 15 15:18:52 EST 2010



Jonathan Pryor <jpryor at novell.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |jpryor at novell.com
         Resolution|                            |INVALID

--- Comment #2 from Jonathan Pryor <jpryor at novell.com> 2010-11-15 20:18:51 UTC ---
The problem isn't the periods.  The problem is you mis-spelled the package.

MonoDroid Preview 1 through 6 would camelCase the package name, so instead of 

  <test_CustomComponent.Test.CustomComponent .../>

you would have needed:

  <test_CustomComponent.test.CustomComponent .../>

Notice that the package-part "Test" SHOULD be "test".

Preview 7 requires that packages be lowercase, not camelcase, so to make the
example work under Preview 7 you need:

  <test_customcomponent.test.CustomComponent .../>

I've verified that the attached project works under Preview 7, after fixing the
above XML naming issue and the other P7 breaking changes (lowercase package
name, add default Activity1() constructor, etc.).

Configure bugmail: https://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