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

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


           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: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to