Reputation: 636
I know there are similar questions here already on stack overflow, and I have already explored these before asking this question.
I have a C# program, and I am storing about 7 string settings. The program saves the settings fine - you can open and close the application as much as your like and its fine. But, when you reboot the operating system, or logout and back in, and restart the program all of the settings are gone.
This is not restricted to my environment, I have tested on 3 different machines and and still getting the same error.
I have explored my issue here on stackoverflow; Why are persisted user settings not loaded?
And I have also tried the Properties.Settings.Default.Upgrade();
and this does not fix my issues either.
Does anyone have and ideas as to where I am going wrong?
Upvotes: 0
Views: 1054
Reputation: 636
Turns out the error was due to using ClickOnce deployment. The software was creating similar to a Temp version on each launch and not communicating to the settings. Used nullsoft installer, to install the raw .exe and now works perfect!
Upvotes: 1