[Mono-list] Using System.Config.AppSettingsReader

Costantino Pipero cos at beeond.net
Wed Nov 11 08:50:08 EST 2009


I have a class library project and I created a configuration file

<configuration>
    <appSettings>
        <add key = "ImagesFolder" value = "/user/home/somefolder/" />
    </appSettings>
</configuration>

I was looking into the documentation but it's missing on how to use the AppSettingsReader class:

1 - how do I tell it which file to use?
2 - does it understand <appSettings> ?

I wonder if anyone out there has used it successfully. Thank you so much for your advice

Cos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20091111/a408a3a9/attachment-0001.html 


More information about the Mono-list mailing list