I am using Visual Studio 2008
professional, C#. I found the App.config
file is copied into the bin\debug and bin\release folder. Is that by default? I thought the XXX.exe.config
file will be the only configuration file for a project.
App.config
?thanks
Since .Net will be looking for a config file named after your executable, it is safe to release the application without "App.Config".
To stop VS copying the config file into your bin directory, select App.config in the solution explorer, show the Properties for the file, then change the "Copy to Output Directory" option to "Do not copy".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With