>Is there a way to use a config file in a DLL? I have built
a C# class that I want to compile as its own dll for use
in other projects. However, it needs to be able to get
some settings from a config file. When I compile it the
config file does not show up in the bin directory.
Not out of the box, no - the config files are only intended for
applications.
Which is really stupid, in a way - I might implement a DLL which has
quite a bit of functionality, and I'd really like to add a config file
to that assembly, right?
Well, there's help in the form of third-party components, such as:
http://www.codeproject.com/csharp/Cu...ile_Reader.asp
Marc
================================================== ==============
Marc Scheuner May The Source Be With You!
Bern, Switzerland m.scheuner(at)inova.ch