[Mono-bugs] [Bug 409300] New: Specified AppDomain configuration file ignored

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jul 15 12:58:02 EDT 2008


           Summary: Specified AppDomain configuration file ignored
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: schmmd at cs.washington.edu
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

This is in mono 1.9.1.

Description of Problem:
When using AppDomains,
ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None); does
not use the configuration file specified in the AppDomainSetup (later
AppDomain.CurrentDomain.SetupInformation.ConfigurationFile).  Instead, it uses
the current application's path with ".config" appended.

Steps to reproduce the problem:
1. Create an app domain and set the ConfigurationFile property of the
AppDomainSetup object to some location.
2. From within the AppDomain notice that
and "ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);"
are different.

Actual Results:
The specified configuration file is ignored.

Expected Results:
The specified configuration file is used.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list