Hi I have a project in VB.NET and using log4Net exception handling. The project and log4net are working with no problems what so ever but when I try to add a DLL (not built by me) this seems to use the log4net component which is giving me the above error.
The other error I get is 'LogManager' is ambiguous in the namespace 'log4net'.
My code is as follows:
Imports Microsoft.VisualBasic
Imports System.Diagnostics
Imports log4net
Namespace Edge.Web.JOnline
Public Class Logger
Private logger As ILog
Public Sub New(_objectType As System.Type)
logger = log4net.LogManager.GetLogger(_objectType)
End Sub
End Class
End Namespace
Can anyone help me with a workaround?
Many thanks,
Leigh