[Mono-bugs] [Bug 633054] New: R.cs generator does not validate resource names

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Aug 20 01:29:11 EDT 2010



           Summary: R.cs generator does not validate resource names
    Classification: Mono
           Product: MonoDroid
           Version: unspecified
          Platform: 64bit
        OS/Version: Windows 7
            Status: NEW
          Severity: Enhancement
          Priority: P5 - None
         Component: Tools
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: dpio222 at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: No

Description of Problem:
The resource class generator does not validate resource names to ensure they
are legal and eligible property names

Steps to reproduce the problem:
1. Create a string resource and name it "Hello.World"
2. Build your project

Actual Results:
The resource generator will create a member variable called "Hello.World" which
is not a valid name

Expected Results:
One of two things
1) The build process should fail at this step and not generate an updated R.cs

How often does this happen? 

Additional Information:
I suppose one can rationalize that the act of generating a syntactically in
correct R.cs file is in and of itself sufficient to notify the user to change
their resource names.

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