XSD to C# class generation Error

Jul 28, 2016 at 7:35 AM
We have the XSD file which contains 77000 lines and it has too many recursive classes. so we tried to use xsd2code to generate C# classes for it but while executing it we are getting the error as
In command prompt we tried as:
C:\Program Files\Xsd2Code>Xsd2Code.exe Sample.xsd

Xsd2Code Version
Code generation utility from XML schema files.

Error: Group "DOCUMENTATION-BLOCK" from targetNamespace-'http://sample.org/schema/r4.0' has invalid definition: Circular group reference.
SubType: Unspecified