I'm looking for a tool to generate strongly-typed classes from XML. I would like to define XML configuration (section, ConfigurationElements etc.) and then generate classes that could handle my configuration through ConfigurationManager.
Asked
Active
Viewed 156 times
2 Answers
3
Take a look at .NET Configuration Code Generator. It uses a sample of the desired XML to infer the configuration structure and types and generate the code.

Randy Levy
- 22,566
- 4
- 68
- 94