https://bugzilla.novell.com/show_bug.cgi?id=658958

https://bugzilla.novell.com/show_bug.cgi?id=658958#c0


           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@lists.ximian.com
        ReportedBy: bryancostan...@hotmail.com
         QAContact: mono-bugs@lists.ximian.com
          Found By: Customer
           Blocker: No


Description of Problem:
If you create a custom application class, e.g.:
    [Application]
    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.
_______________________________________________
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to