I have a c# class library that builds into a DLL.
I have some setting values, like paths to directories, that I use inside the class library.
I would like to make it so, that whomever references the DLL has a chance to edit the default values of the settings (preferably through a file). Like,
[In the class library] Default value would be FooDir = "C:/Program files/"
[Project X references the library] We would like to change the FooDir's value to "C:/Program files(x86)/".
It would be neat, if Visual Studio would generate a XML file containing the FooDir config/setting and then copy it to Project X's output directory. And then we could change the FooDir's value there and this new value of FooDir would be reflected when running Project X.
How can I achieve this?