ConfigGen projects

Coordinator
Apr 20, 2012 at 11:37 AM
Edited Apr 20, 2012 at 11:42 AM

I'm considering introducing project files to ConfigGen e.g. *.cfgproj files.

 

The idea here is that if you generate files from different sources in one go (e.g. app.config, logging config, other config) then you should be able to do it with a single invocation (the slowest part of the ConfigGen process seems to be the initial load of the console app itself).

The file itself will probably just contain, the command line arguments and options for each invocation:

example.cfgproj:

run (--settings-file App.Config.Settings.xls --template-file App.config.template.xml --output-directory AppConfigs)

run (--settings-file Logging.Config.Settings.xls --template-file Logging.config.template.xml --output-directory LoggingConfigs)

run (--settings-file Other.Config.Settings.xls --template-file Other.config.template.xml --output-directory OtherConfigs)