[Mono-dev] web.config override of dll settings doesn't work?

Jesse Sightler jesse.sightler at gmail.com
Sun Oct 28 02:29:02 EDT 2007


I've tried a web.config with contents such as:
    <configSections>
        <sectionGroup name="applicationSettings" type="
System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089">
            <section name="TravisWhidden.Properties.Settings" type="
System.Configuration.ClientSettingsSection, System, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089"
requirePermission="false"/>
        </sectionGroup>
    </configSections>
    <applicationSettings>
        <TravisWhidden.Properties.Settings>
            <setting name="BaseFileUpload" serializeAs="String">
                <value>/home/jsight/tmp</value>
            </setting>
            <setting name="FileTimeToLive" serializeAs="String">
                <value>3600</value>
            </setting>
            <setting name="Pages" serializeAs="String">
                <value>Default.aspx</value>
            </setting>
        </TravisWhidden.Properties.Settings>
    </applicationSettings>

However, the underlying dll does not see the settings that are being
applied.  It only sees the settings that are defaulted within itself.

Shouldn't my web.config override its settings?

Thanks,
Jess
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20071028/12aa6c90/attachment.html 


More information about the Mono-devel-list mailing list