I have a req.. I need to have a appname.exe.config file to be read by an application ABC. But by default the ABC.EXE.Config file is taken. I need to read the XYZ.exe.config file to take. This may be peculiar.. But any help is appreciated.
thanks
I think Larsson is correct - the built-in methods to access config values assume the file is named ABC.exe.config. If you want to access XYZ.exe.config, you will need to open it via an XmlReader instance and parse it yourself.
Chip H.
If you want to get the best response to a question, please check out FAQ222-2244 first
why can't you just add your needs into the "ABC.EXE.Config" file?
for example: i have an application that needs config stuff loaded. i just added new sections in to the "ABC.EXE.Config" file and voila! config stuff read!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.