Hello everyone,
If the app.config format is wrong, for example, not a correct format XML file, application will fail from loading. Are there any ways to let me know such issue -- for example, receiving some events (so that I could write file log and event log to record this issue) if app.config loads error because of a mal-formatted XML file?
thanks in advance,
George

1 answers
No,
I do not think that there is a way to check for an event that would fire if the app.config is messed up. Why do you think this would be a huge issue?
Pete
answered 2 years ago by:
0
Yes, Pete. I need to handle this event and give user meaningful message box. Which event do you think I should handle in this case?
regards,
George
answered 2 years ago by:
0
This post was imported from csharpfriends, if you have a similiar question please ask it again.
All previous members have been migrated, hope you enjoy the new platform!