Your type is probably declared incorrectly

See for more details on a fully qualified type name
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconspecifyingfullyqualifiedtypenames.asp


Tim

On Tue, 21 Dec 2004 14:51:12 -0600, Eric Means <[EMAIL PROTECTED]> wrote:
> You have to supply the full type info.  Assuming your appender is in a
> DLL called ActiveSentry.dll, try the following:
> 
> <appender name="ADONetAppender"
> type="log4net.ActiveSentryADONetAppender, ActiveSentry">
> 
> (off the top of my head, the order might be reversed)
> 
> On Tue, 21 Dec 2004 12:46:20 -0800, Chase Rogers <[EMAIL PROTECTED]> wrote:
> >
> > I am creating my own appender, in a project that uses the log4net dll.
> > the problem is, I cannot get the xml config file to use this new appender.
> >
> > Example:
> >  before, I would say somthing like this:
> >
> > <appender name="ADONetAppender" type="log4net.Appender.ADONetAppender">
> >
> >  but now, I try to say:
> > <appender name="ADONetAppender" type="log4net.ActiveSentryADONetAppender">
> >
> > This new appender is not even getting called, the logger just plain does'nt
> > do anything when it tries to use this new Appender.
> >
> > How do I make my xml reconize this new class I have created?
> 
> 
> --
> Eric Means
> [EMAIL PROTECTED]
> http://www.randomtree.org/eric/
>

Reply via email to