Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/mcs/class
diff options
context:
space:
mode:
authorMartin Baulig <martin@novell.com>2002-10-14 14:04:29 +0400
committerMartin Baulig <martin@novell.com>2002-10-14 14:04:29 +0400
commitf9202c17a9ffadce21f5ba58608fdd32391d581d (patch)
treebd458e0bb9fd622ece0ee1487200e235b34a7976 /mcs/class
parent5e63beb02731ab160a1e44c74053b7214847af5e (diff)
2002-10-14 Martin Baulig <martin@gnome.org>
* ConfigurationSettings.cs (DefaultConfig.GetAppConfigPath): Append ".config" to the filename, not ".exe.config" since the filename already has a ".exe" suffix. svn path=/trunk/mcs/; revision=8239
Diffstat (limited to 'mcs/class')
-rw-r--r--mcs/class/System/System.Configuration/ChangeLog6
-rw-r--r--mcs/class/System/System.Configuration/ConfigurationSettings.cs2
2 files changed, 7 insertions, 1 deletions
diff --git a/mcs/class/System/System.Configuration/ChangeLog b/mcs/class/System/System.Configuration/ChangeLog
index efd163ca6cf..de7090dbf08 100644
--- a/mcs/class/System/System.Configuration/ChangeLog
+++ b/mcs/class/System/System.Configuration/ChangeLog
@@ -1,5 +1,11 @@
2002-10-14 Martin Baulig <martin@gnome.org>
+ * ConfigurationSettings.cs (DefaultConfig.GetAppConfigPath):
+ Append ".config" to the filename, not ".exe.config" since the
+ filename already has a ".exe" suffix.
+
+2002-10-14 Martin Baulig <martin@gnome.org>
+
* ConfigurationSettings.cs (DefaultConfig.GetAppConfigPath): Use
Assembly.Location, not Assembly.FullName to get its filename.
diff --git a/mcs/class/System/System.Configuration/ConfigurationSettings.cs b/mcs/class/System/System.Configuration/ConfigurationSettings.cs
index 5e586e972cd..2096999909a 100644
--- a/mcs/class/System/System.Configuration/ConfigurationSettings.cs
+++ b/mcs/class/System/System.Configuration/ConfigurationSettings.cs
@@ -133,7 +133,7 @@ namespace System.Configuration
// Remove when uncomment the previous comment
string assemblyName = Assembly.GetEntryAssembly ().Location;
string appBase = Path.GetDirectoryName (assemblyName);
- string configFile = Path.GetFileName (assemblyName) + ".exe.config";
+ string configFile = Path.GetFileName (assemblyName) + ".config";
// End remove
return Path.Combine (appBase, configFile);