application configuration files

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have created an application config file in the bin folder. It works fine
when I execute the exe when not in visual studio. When I try to run the
project in VS, VS deletes the config file when the app starts. I have gotten
around this by making the config file readonly but this really seems to be a
hack. Anyone got an idea as to what is going on here and how to fix it.
 
kinmanpk said:
I have created an application config file in the bin folder. It works fine
when I execute the exe when not in visual studio. When I try to run the
project in VS, VS deletes the config file when the app starts. I have gotten
around this by making the config file readonly but this really seems to be a
hack. Anyone got an idea as to what is going on here and how to fix it.

the file must be named "App.config".

bye
Rob
 
Back
Top