[Mono-list] System.Configuration.DictionarySectionHandler again
neil.young
neil.young at freenet.de
Thu Jun 19 11:27:28 EDT 2008
Robert Jordan wrote:
>
> neil.young wrote:
>> Hi,
>>
>> Mono 1.9, Custom Configuration Section in app.config has to be specified
>> as:
>> <configSections>
>> <section name="test"
>> type="System.Configuration.DictionarySectionHandler, System" />
>> </configSections>
>>
>> Without the "System" the configuration section may not be used in the
>> application.
>>
>> In contrast specifiying the "System" in a VS 2005 console app causes an
>> exception: Assembly not found (meant is System). Here the config section
>> entry has to be specified as
>> <configSections>
>> <section name="test"
>> type="System.Configuration.DictionarySectionHandler" />
>> </configSections>
>>
>> Is Mono wrong?
>
> Maybe, but you can fix this by using the fully qualified type name:
>
> type="System.Configuration.DictionarySectionHandler, System,
> Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
>
> This works on both systems.
>
> Robert
>
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
>
Hi Robert,
thanks for the hint. I already played with that thought too, but I didn't
have the fully qualified type name by hand. But to let you know - it works
your way.
Thanks again.
Regards
--
View this message in context: http://www.nabble.com/System.Configuration.DictionarySectionHandler-again-tp18010187p18011453.html
Sent from the Mono - General mailing list archive at Nabble.com.
More information about the Mono-list
mailing list