aloneguid / config

⚙ Config.Net - the easiest configuration framework for .NET developers. No BS.
MIT License
641 stars 85 forks source link

.INI remains unchanged #125

Open krztvlmedina opened 2 years ago

krztvlmedina commented 2 years ago

I have an issue that I haven't found a solution to. I have an .ini file that I'd like to keep throughout sessions so the users can modify some global settings and not lose these changes when rebooting the app. I configured the file using new ConfigurationBuilder<ISettings>().UseIniFile("config.ini").Build(), and according to the documentation it should allow writing, but the .ini files remains unchanged.

image

However, whenever I use a setter to modify one of my interface's properties, the change is registered in the app, despite the file itself remaining unchanged, so whatever change I make is lost after ending the session.

image

I have the file's settings to Build action = None and Output = Copy if most recent. image