c# - What happens with settings after deleting the executable file? -


let's made program without installer (only exe file) , save data on settings. happen if delete exe file? settings delete automatically? if no can give me suggestions?

application settings stored in file name <exename>.exe.config near executable file. example if executable myapp.exe, configuration file myapp.exe.config. stored in different files.

if change user-level setting (application-level settings read-only) , save settings (settings.default.save()), changed values stored in file named user.config in subfolder in %localappdata% folder (see this answer more information). if delete application folder, changed settings not deleted.


Comments

Popular posts from this blog

Capture and play voice with Asterisk ARI -

java - Why database contraints in HSQLDB are only checked during a commit when using transactions in Hibernate? -

visual studio - Installing Packages through Nuget - "Central Directory corrupt" -