Configuration Issue Addin Class Library

Topics: General discussion
Aug 4, 2008 at 2:17 PM

I'm trying to use the enterprise library logging and exception handling blocks in a C# class library project.

The problem, I think, is that this class library is actually an addin for Sparx EA and therefore there is no app.config for the main exe.

Specifically I'm getting an exception that says the configuration information cannot be found.

Is this a common scenario?
Is there a work around?
Can you use enterprise library in a class library when you have no control over the exe?

(If you need the actual error message please ask and I'll dig it out - but I think this is more of a conceptual problem than specific lines of code).

Thanks in advance.