I have a console application that has App.Confile file.
Now the parameters that are environment specific are maintained here.
Now I am thinking to have multiple app.config files (like app.dev.config, app.test.config and app.prod.config) the way how we can have multiple Web.Config files.
In case of Web application, we can handle this and ConfigurationManager would pick respective Web.Config file.
In case of Console application, I am not sure. If Yes, how can we have multiple app.config files?
Appreciate your help.
Thanks
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…