This is a known problem that I already have mailed on the 5th february 2010 and was issued as LOG4NET-257 (https://issues.apache.org/jira/browse/LOG4NET-257). To quote Stefan Bodewig:
==quote== I ran the beta1 on NAnt 0.90 against log4net's build file in the root dir of trunk and it worked without any problems. Anything specific I should be looking out for? ==eof quote== You may should consider to contact him. Greetings, Dominik