1
Vote

Implement code style normalization

description

Very often names of types, elements and attributes in XSD are not compliant with .NET naming guidelines (see http://msdn.microsoft.com/en-us/library/xzf533w0(VS.71).aspx). Would be great to have a feature to make generated code naming style by these guidelines.

comments

pcabanel wrote Jan 26, 2009 at 7:05 PM

Ok, it's a good idear.
We'll try to do something for the next release.
which tool do you use for validate the rules ? Directly visual studio or StyleCop, FxCop ?
Thank you.

epodolyak wrote Jan 26, 2009 at 8:32 PM

I general we just need to normalize generated properties and class names from:
my_class_name and my_property_name to MyClassName and MyPropertyName

Take this http://www.codeproject.com/KB/cs/xsdtidy.aspx for baseline.