I have made a app which uses visual studio’s app.config to store settings about the checkboxes states etc which works fine. I copied the exe for the app from the default directory and ran it, I forgot about the app.config file but it still worked as normal, is app.config compiled into the exe somehow, or do I still need to include it in the same folder as the exe? Thanks.
Share
App.config files (which on build/deployment would be copied as something like
MyApplication.exe.configare only required, if you have coded your application in such a way that it is explicitly dependent on it. If you have not done this, or have put error handling/default values or actions in place where it can’t read the config file, one would assume your application could run without it.