[Mono-bugs] [Bug 683058] New: ConfigurationManager doesnt work for Process executed apps

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Mar 28 09:03:52 EDT 2011


https://bugzilla.novell.com/show_bug.cgi?id=683058

https://bugzilla.novell.com/show_bug.cgi?id=683058#c0


           Summary: ConfigurationManager doesnt work for Process executed
                    apps
    Classification: Mono
           Product: Mono: Runtime
           Version: SVN
          Platform: 64bit
        OS/Version: RHEL 5
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: srfcanada at hotmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; WOW64;
Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; MS-RTC LM 8)

The ConfigurationManager fails to read the App.config when a program is
executed through Process class. The attached sample shows a TestProgram.exe
where just running it from the commandline it will read the app config properly
but executing it through the Process class it will fail to real the app config
properly . Trying it on windows and it works ok.

Reproducible: Always

Steps to Reproduce:
1.Compile TestProgram.cs , gmcs TestProgram.cs
2.Compile procfail.cs , gmcs procfail.cs
3.Run TestProgram.exe and it should read the app.config
4.Run procfail.exe and it will fail to read the app.config

-- 
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