[Mono-bugs] [Bug 653374] New: Build Fails When ApplicationAttribute.Description Contains Literal String

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Nov 12 15:28:04 EST 2010



           Summary: Build Fails When ApplicationAttribute.Description
                    Contains Literal String
    Classification: Mono
           Product: MonoDroid
           Version: unspecified
          Platform: x86-64
        OS/Version: Windows 7
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Tools
        AssignedTo: mkestner at novell.com
        ReportedBy: danomania at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

Created an attachment (id=400023)
 --> (http://bugzilla.novell.com/attachment.cgi?id=400023)
Sample application that demonstrates bug

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:
Gecko/20101026 Firefox/3.6.12

When the ApplicationAtrribute.Description property refers to a string resource
i.e., "@string/app_description", the build succeeds.

However, if the ApplicationAttribute.Description property is a literal string,
i.e., "My Application Description", the build fails.

Reproducible: Always

Steps to Reproduce:
1. Extract the attached archive.
2. Open the MonoDroidApplication1.sln file
3. Open the AssemblyInfo.cs file
4. RebuildAll
Actual Results:  
The following error was generated:

Error    1    System.InvalidOperationException: Command failed. Command:
C:\Program Files\Motorola Mobility\MOTODEV Studio for Android
2.0\android_sdk\platforms\android-8\tools\aapt "package" "-f" "-M"
"AndroidManifest.xml" "-J" "src" "-F" "bin\packaged_resources" "-S"
"C:\Users\Dan\Documents\Visual Studio
2010\Projects\MonoDroidApplication1\MonoDroidApplication1\obj\Debug\res" "-I"
"C:\Program Files\Motorola Mobility\MOTODEV Studio for Android
C:\Users\Dan\Documents\Visual Studio

Expected Results:  
Should build successfully just like when a string resource is specified.

1. Open the AssemblyInfo.cs file
2. Uncomment the line:
[assembly: Application(Label = "MyApplication", Description =
3. Comment the line:
[assembly: Application(Label = "MyApplication", Description = "MonoDroid
Application Description")]

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list