App.config
that resides in a Class Library project would not be loaded (at least not without extra effort), the only configuration loaded by the framework is the Client configuration (i.e the Web.config
of a project that references and uses your Class Library).
See this answer for possible solutions.