I'm happy to announce a new release of ClassFromConfig - v1.4.0! Lots of improvements there. I had to rewrite the code generation code almost from scratch so it is more managable and easy to extend later on.
Changes include:
- Rewritten the code generator engine to be more managable.
- Added lost of tests.
- Added "options file" support which enables to store ConfigFromClass settings in project .config file.
- Added ability to update config file and automaticallt register generated custom sections.
- Added support for default collections
- Added ability to exclude certain sections from being generated.
- Added option to disable connectionString wrapper
- Added option to disable appSettings wrapper
- Added ability to load comments from config file as comments to the generated properties.
- Generated properties will now have info in the comments about which key it corresponds to.
It's recommended to upgrade any earlier versions to this version.