[Mono-bugs] [Bug 38941][Nor] New - Runtime tries to locate Machine.config in wrong directory
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Sat, 1 Mar 2003 05:04:12 -0500 (EST)
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 gert.driesen@pandora.be.
http://bugzilla.ximian.com/show_bug.cgi?id=38941
--- shadow/38941 Sat Mar 1 05:04:12 2003
+++ shadow/38941.tmp.20603 Sat Mar 1 05:04:12 2003
@@ -0,0 +1,74 @@
+Bug#: 38941
+Product: Mono/Runtime
+Version: unspecified
+OS:
+OS Details: Windows 2000
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: gert.driesen@pandora.be
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Runtime tries to locate Machine.config in wrong directory
+
+Description of Problem:
+
+On Windows, Mono tries to locate the machine.config in the wrong
+directory. In version 0.21 of Mono it tries to locate the machine.config
+in C:\cygwin\home\lalo\go-mono\install\etc\mono. Apparently this is
+something that corresponds with a setting at the time the runtime was
+build. I assume that the guy that built the windows setup package for
+mono, stores his machine.config at this location.
+
+Steps to reproduce the problem:
+
+Create an application that reads application settings from an application
+configuration file. This will cause the runtime to load the
+machine.config.
+
+Actual Results:
+
+When the machine.config is not at that location you get the following
+warning (and the machine.config is not loaded, which causes exceptions
+later on) :
+
+** Warning **: cannot find C:\cygwin\home\lalo\go-
+mono\install\etc\mono\machine.
+config
+Trying to load app config file...
+
+Expected Results:
+
+Mono should locate the machine.config in the Mono install directory. when
+Mono is installed on windows, it creates the following directory
+structure :
+
+<drive letter>:\Mono-<mono version>\install with the following
+subdirectories :
+
+bin\
+etc\
+lib\
+doc\
+...
+
+After installation the machine.config file is actually located in :
+
+<drive letter>:\Mono-<mono version>\install\etc\mono
+
+eg.
+
+C:\Mono-0.21\install\etc\mono\machine.config
+
+The runtime should actually load the machine.config from that location
+
+
+
+How often does this happen?
+
+Always