I have app that uses Settings.
To save settings I use:
Properties.Settings.Default.Save();
To read tham I use:
Properties.Settings.Default.MyCustomSetting;
In my folder with application I have only exe file.
No config files. My application works good, can read write settings.
Where is that file located if it is not in application folder?
On My Windows XP machine, the settings are saved in a file called user.config somewhere under either
C:\Documents and Settings\<UserName>\Application Data\orC:\Documents and Settings\<UserName>\Local Settings\Application Data\Update:
On Windows Vista and later, the locations have changed to
C:\Users\<UserName>\AppData\Roaming\andC:\Users\<UserName>\AppData\Local\