Hi Uwe,

 

Usually this means that you have included (different versions of?) log4net
multiple times in your project (multiple includes) because then the runtime
tries to load the DLL multiple times, redefining the log4net namespace on
each load and bailing when it tries for the second time.

 

The LogManager class surely does not exists two times in the namespace as
that would mean it could never work and that wouldn’t have passed unnoticed
for years, would it? :)

 

Let us know as soon as you were able to sort this out and don’t hesitate to
respond to this message if you think that we can help you.

 

Cheers

 

Von: Uwe Bohnhoff [mailto:[email protected]] 
Gesendet: Montag, 23. März 2015 18:00
An: [email protected]
Betreff: Problem

 

Hi,

we have added log4net to our tools.

Now, we tried again to another tool and get this message:

 

    Public Shared ReadOnly bblog As log4net.ILog =
log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod()
.DeclaringType)

 

„LogManager“ is in Namespace „log4net“ not unique.

 

What is our problem in this tool. All tools created in Visual Studio 2012
with vb.net.

 

Best regards,

 

 

Mit freundlichen Grüßen

 

Uwe Bohnhoff
Bohnhoff Soft- und Hardware Systeme GmbH

****************************************************************************
***
Bohnhoff Soft- und Hardware Systeme GmbH                  

Wilhelmstr. 66                                  

13593 Berlin                                      

                                                  

Tel.:    +49 (0)30 / 35 39 36 -0                  

Fax:    +49 (0)30 / 35 39 36 18                           

http:// <http://www.bohnhoff-gmbh.de/> www.bohnhoff-gmbh.de

eMail:  <mailto:[email protected]> [email protected]    

 

Geschäftssitz: Berlin

HRB 33525 - Amtsgericht Berlin-Charlottenburg

Geschäftsführung: Birgit Nötzel

USt.-ID-Nr.: DE136573674

 

              

 

Reply via email to