I have some trouble in restoring persisted user config settings when installing a new version of my C# .NET application.
I have the following lines right at the beginning of my main program:
// if(Properties.Settings.Default.UpgradeSettings). Temporary took out for testing
Properties.Settings.Default.UpgradeSettings = false;
The old settings was kept in the file "user.config" at the location:
After installing the new version, I could see a new "user.config" at a new location:
But the code above didn't copy the old user settings, could someone point to me where I might have done wrong.
FYI, I am using C#, .NET 3.5, Installer.
Thanks in advance.