Since .Net will look for a configuration file with a name after your executable, it is safe to release the application without "App.Config".
To stop VS-copying the configuration file to the bin directory, select App.config in the solution explorer, show Properties for the file, then change the "Copy to output directory" option to "Do not copy".
Samuel jack
source share