[Mono-bugs] [Bug 57244][Wis] New - @file attribute not respected on <appSettings>
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Mon, 19 Apr 2004 20:39:32 -0400 (EDT)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by krisolav@hotmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=57244
--- shadow/57244 2004-04-19 20:39:32.000000000 -0400
+++ shadow/57244.tmp.8082 2004-04-19 20:39:32.000000000 -0400
@@ -0,0 +1,50 @@
+Bug#: 57244
+Product: Mono: Class Libraries
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: System
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: krisolav@hotmail.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: @file attribute not respected on <appSettings>
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+<appSettings> allows you to specify a @file attribute to point to a shared
+configuration file. This works under the Microsoft runtime, but not Mono.
+
+Steps to reproduce the problem:
+1. Create a console app with this code:
+ string val = ConfigurationSettings.AppSettings["MySetting"];
+ Console.WriteLine("MySetting = " + val);
+
+2. Add an App.config that contains:
+ <configuration>
+ <appSettings file="../../shared.conf"/>
+ </configuration>
+
+3. Add the shared config file referenced by above:
+ <appSettings>
+ <add key="MySetting" value="xyz"/>
+ </appSettings>
+
+
+Actual Results:
+MySetting =
+
+Expected Results:
+MySetting = xyz
+
+How often does this happen?
+every time
+
+Additional Information: