There are some specifics to getting configuration files read in NUnit.  You usually have to have a config filed named as follows: My.Assembly.dll.config  that config file needs to go into the bin directory of the NUnit assembly.  Is this how you have your project set up?   

 

Rich Denis
perotsystems

972.577.5869 Wk
[EMAIL PROTECTED]


From: Steve Burkett [mailto:[EMAIL PROTECTED]
Sent: Friday, July 16, 2004 7:37 PM
To: [email protected]
Subject: not loading the DOMConfigrator

 

Hi all,

 

I’m using the log4net logger in a library that’s used by a Nunit TextFixture assembly.

 

In my textfixture assembly, one of the cs files has this at the top:

 

[assembly: log4net.Config.DOMConfigurator()]

 

However, when Nunit starts, it’s not creating a DOMConfigurator, and hence, not reading my config file for appenders.

 

Anyone know what I’m doing wrong?  Thanks.

Reply via email to