[Mono-bugs] [Bug 544286] New: xbuild ignores App.config file

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Oct 5 06:23:34 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=544286


           Summary: xbuild ignores App.config file
    Classification: Mono
           Product: Mono: Compilers
           Version: 2.4.x
          Platform: i686
        OS/Version: openSUSE 11.0
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: djechelon at fastwebnet.it
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


User-Agent:       Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64;
Trident/4.0; MathPlayer 2.10d; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT
5.1; SV1) ; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; InfoPath.2; .NET
CLR 3.5.21022; OfficeLivePatch.1.3; .NET CLR 3.5.30729;
OfficeLiveConnector.1.4; .NET CLR 3.0.30618)

I have an application made in Visual Studio under Windows, with an App.config
(uppercase A as default) file. I noticed that when I compile the application
using xbuild tool, the App.config file is missing. I tried to set it as "copy
always" but I read this article about app.config:
http://www.stillhq.com/dotnet/000043.html
It says app.config is named against the assembly executable file name, but
xbuild does not do so.

If I copy App.config manually to bin/Debug/MyAssembly.exe.config everything
workd file.

Reproducible: Always

Steps to Reproduce:
1. Create an application (Console project is good) with an app.config file
2. Compile it using xbuild
Actual Results:  
No trace of the config file in the bin directory. Classes referencing
System.Configuration.ConfigurationManager get empty results

-- 
Configure bugmail: http://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