[Mono-bugs] [Bug 666280] New: [aresgen] Resource variants need to be renamed as well.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Jan 21 16:13:44 EST 2011


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

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


           Summary: [aresgen] Resource variants need to be renamed as
                    well.
    Classification: Mono
           Product: MonoDroid
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Tools
        AssignedTo: jpryor at novell.com
        ReportedBy: jpryor at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


aresgen.exe will rename the fields of Resource.Designer.cs to match the casing
of files on the filesystem.

The problem is that this doesn't take resource alternatives into consideration.

Consequently, the file Resources\Layout\Main.axml will be handled (creating the
Resource.Layout.Main value), but Resources\Drawable-hdpi\Icon.png will generate
Resource.Drawable.icon instead of Resource.Drawable.Icon.

See also:
http://developer.android.com/guide/topics/resources/providing-resources.html#BestMatch

aresgen needs to be "alternative-aware", and support renaming alternates.

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