App.config overwrites exe.config
Hi,
I am developing an application from VS.Net 2003.
I have found that if I read and write user settings to the exe.config file located in the bin, it gets overwritten by the contents of app.config when I start the application and stop the application.
Because of this I started writing and reading the app.config but find that this is an incorrect approach as the app.config is used only when I run the application from VS.Net 2003.
What is the solution to this problems.... what I thought of is this-
write some code that will check if the app was run from Vs.Net and if so, write and read from app.config....otherwise write and read from exe.config in bin folder.
Any suggestions are greatly appreciated.