[monkeydoc] Instantiate both app and library configuration
[mono.git] / mcs / tools / monkeydoc / Monkeydoc / settings.cs
index b2588be5862f0b4ba4689d85fea7e8c5c8c84e2d..ad73e424adc83823d15e1adfd3d6e11ab502af98 100644 (file)
@@ -14,9 +14,11 @@ namespace MonkeyDoc
                        try {
                                var config = ConfigurationManager.OpenExeConfiguration (System.Reflection.Assembly.GetExecutingAssembly ().Location);
                                libConfig = config.AppSettings.Settings;
-                       } catch {
+                       } catch {}
+
+                       try {
                                exeConfig = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None).AppSettings.Settings;
-                       }
+                       } catch {}
                }
 
                public static string Get (string key) {