mganss/XmlSchemaClassGenerator

Generate C# classes from XML Schema files

67
/ 100
Established

Generates XmlSerializer-compatible C# classes with advanced schema mapping capabilities: XML namespace-to-C# namespace conversion, DataAnnotations attributes from schema restrictions, and nullable reference type support. Supports multiple output modes including Entity Framework Code First compatibility, INotifyPropertyChanged implementation, and configurable collection/property patterns. Available as a console tool, NuGet library, and .NET Core CLI utility with glob and URL schema input support.

741 stars. Actively maintained with 4 commits in the last 30 days.

No Package No Dependents
Maintenance 16 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 25 / 25

How are scores calculated?

Stars

741

Forks

209

Language

HTML

License

Apache-2.0

Last pushed

Mar 13, 2026

Commits (30d)

4

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/mganss/XmlSchemaClassGenerator"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.