You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to convert the X3D schema to C# classes. I am importing it by way of a proxy to put it in its own namespace to separate it from another schema.
Because of the inheritance structure, it is creating very many redundant and repeating properties for the derived classes, raising hiding warnings (CS0108). When creating an XmlSerializer, it then runs into multiple instances of the same XML element and fails.
Although I can go through and clean out the redundant properties by hand, it would take a very long time ;)
Am I missing a key setting in XmlSchemaClassGenerator? Is there a workaround/fix for this issue?
Thanks!
Tom
The text was updated successfully, but these errors were encountered:
Hi again :)
I'm trying to convert the X3D schema to C# classes. I am importing it by way of a proxy to put it in its own namespace to separate it from another schema.
Because of the inheritance structure, it is creating very many redundant and repeating properties for the derived classes, raising hiding warnings (CS0108). When creating an
XmlSerializer
, it then runs into multiple instances of the same XML element and fails.Although I can go through and clean out the redundant properties by hand, it would take a very long time ;)
Am I missing a key setting in XmlSchemaClassGenerator? Is there a workaround/fix for this issue?
Thanks!
Tom
The text was updated successfully, but these errors were encountered: