Browse Source

Fix #577: app.config is not generated correctly with contents of Settings.settings

pull/416/merge
Andreas Weizel 11 years ago
parent
commit
b9a03aa8f7
  1. 3
      src/AddIns/DisplayBindings/SettingsEditor/Project/SettingsViewContent.cs

3
src/AddIns/DisplayBindings/SettingsEditor/Project/SettingsViewContent.cs

@ -151,8 +151,6 @@ namespace ICSharpCode.SettingsEditor
#region Update app.config #region Update app.config
void UpdateAppConfig(XDocument appConfigDoc) void UpdateAppConfig(XDocument appConfigDoc)
{ {
Console.WriteLine("UpdateAppConfig(XDocument appConfigDoc)");
/*
var entries = view.GetAllEntries(); var entries = view.GetAllEntries();
var userEntries = entries.Where(e => e.Scope == SettingScope.User); var userEntries = entries.Where(e => e.Scope == SettingScope.User);
var appEntries = entries.Where(e => e.Scope == SettingScope.Application); var appEntries = entries.Where(e => e.Scope == SettingScope.Application);
@ -178,7 +176,6 @@ namespace ICSharpCode.SettingsEditor
if (appSettings != null) { if (appSettings != null) {
UpdateSettings(appSettings, appEntries); UpdateSettings(appSettings, appEntries);
} }
*/
} }
void RegisterAppConfigSection(XElement configSections, bool hasUserEntries, bool hasAppEntries) void RegisterAppConfigSection(XElement configSections, bool hasUserEntries, bool hasAppEntries)

Loading…
Cancel
Save