You can add an app.config to a library project, but it is not used or included in any of the output.
Configuration is meant to be done in the application - not in the library. So you need to put the configuration in question in the web.config of your web application, not in app.config of a library.