Change ElementName from generate xsd class
Using the xsd.exe tool, class are generate from a xsd file.
I would like to change the name of a root element put I can not since the XmlRootElementAttribute can not be duplicate. So idealy I would like that the xsd tool generate a partial classe like this:

    ...
    [System.Xml.Serialization.XmlRootAttribute(ElementName="Request", IsNullable=false)]
    public partial class SendMessage  { ... }

But I have no clue how to change the ElementName propertie.

Thanks
Change ElementName from generate xsd class
===

Using the xsd.exe tool, class are generate from a xsd file.
I would like to change the name of a root element put I can not since the XmlRootElementAttribute can not be duplicate. So idealy I would like that the xsd tool generate a partial classe like this:

    ...
    [System.Xml.Serialization.XmlRootAttribute(ElementName="Request", IsNullable=false)]
    public partial class SendMessage  { ... }

But I have no clue how to change the ElementName propertie.

Thanks