[Mono-bugs] [Bug 656002] New: ApplicationAttribute Not Generating in Manifest

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Nov 25 12:31:12 EST 2010


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

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


           Summary: ApplicationAttribute Not Generating in Manifest
    Classification: Mono
           Product: MonoDroid
           Version: unspecified
          Platform: x86-64
        OS/Version: Windows 7
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Tools
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: adam.tybor at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Beta-Customer
           Blocker: ---


Description of Problem: 
On Preview 8.1, when trying to use the ApplicationAttribute either as an
assembly level attribute or on an Application subclass, the resulting attribute
properties are not added to the AndroidManifest.xml


Steps to reproduce the problem:
1. Create new MonoDroid application
2. Create a new application subclass

[Application(Label="@string/app_name"
    , Description = "@string/app_description"
    , Theme = "@android:style/Theme.Light.NoTitleBar"
    , Debuggable = true, AllowClearUserData = true)]
public class MyApp : Application
{
  public MyApp(IntPtr handle) : base(handle)
  {
  }
}

4. Build the application
5. Look at the final merged androidmanifest.xml

Actual Results:
The following is the in the androidmanifest.xml

<application android:label="@string/app_name">
..
</application>

Expected Results:
<application 
  android:name=".MyApp"
  android:label="@string/app_name"
  android:description="@string/app_description"
  android:theme="@android:style/Theme.Light.NoTitleBar"
  android:debuggable="true">
..
</applicatin>


How often does this happen? 
All the time

Additional Information:
I have tried both as an assembly level attribute and an attribute on the
application class and neither seem to work.

-- 
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