[Mono-bugs] [Bug 658958] New: If you set a custom class, and set an application name, your class doesn't work

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Dec 10 17:00:46 EST 2010



           Summary: If you set a custom class, and set an application
                    name, your class doesn't work
    Classification: Mono
           Product: MonoDroid
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Tools
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: bryancostanich at hotmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Customer
           Blocker: No

Description of Problem:
If you create a custom application class, e.g.:
    public class CustomApplication : Android.App.Application

the manifest.xml gets properly injected with something like this:
    <application android:name="test_customappclass.CustomApplication">

however, if you also set the application name in the project properties, you no
longer get the app name injection. 

the reason is, if you set your app name, then it creates an <application> node
in the AndroidManifest.xml and the build tool will not modify it.

i propose that the build tool instead tries to insert properties as long as
their not conflicting. if they are conflicting, you should get a build error,
explaining that they are conflicting.

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