Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.INI remains unchanged #125

Open
krztvlmedina opened this issue Nov 3, 2021 · 0 comments
Open

.INI remains unchanged #125

krztvlmedina opened this issue Nov 3, 2021 · 0 comments

Comments

@krztvlmedina
Copy link

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

@krztvlmedina krztvlmedina changed the title .INI is not getting overwritten .INI remains unchanged Nov 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant