Ejemplo n.º 1
0
        public static bool MigrateSharedSettings(Type settingsClass, string previousExeConfigFilename)
        {
            if (!ApplicationSettingsHelper.IsSharedSettingsMigrationEnabled(settingsClass))
            {
                return(false);
            }

            ApplicationSettingsBase settings = ApplicationSettingsHelper.GetSettingsClassInstance(settingsClass);

            ApplicationSettingsExtensions.MigrateSharedSettings(settings, previousExeConfigFilename);
            return(true);
        }
Ejemplo n.º 2
0
 protected override bool PerformUpgrade()
 {
     ApplicationSettingsExtensions.MigrateUserSettings(Settings);
     return(true);
 }