Hi!
I've one main app (launcher) and a library containing all ui controls.
When I launch main app (.exe) I try to upgrade dll's user settings calling this method:
public static void CheckForUpgrade()
{
if (Settings1.Default.UpdateSettings)
{
Settings1.Default.Upgrade();
Settings1.Default.UpdateSettings = false;
Settings1.Default.Save();
}
}
When I review logs, i can see upgrade is called, but settings are reset to default values.
There is anyway to upgrade dll settings that it's not in the main (executing) assembly?
What I have tried:
Tried to call this method from the main app. It's defined in the external dll under an static class (SettingsManager)
public static void CheckForUpgrade()
{
if (Settings1.Default.UpdateSettings)
{
Settings1.Default.Upgrade();
Settings1.Default.UpdateSettings = false;
Settings1.Default.Save();
}
}