This project has moved. For the latest updates, please go here.


Problem with log4net


Hi Govert,
I exchanged a few emails with you regarding my log4net issue in a simple class library that uses SQLite calls.
I am trying to send the project her.
I really appreciate that you considered to have a look at it.

file attachments

Closed Sep 30, 2015 at 10:36 PM by govert
Made sample with correct usage.


govert wrote Apr 2, 2015 at 10:53 PM

OK - you just have to set up some kind of log4net configuration for the logging to work, and make sure it is initialized in some way, either with an assembly attribute or an explicit call to XmlConfigurator.Configure()

I've made a little example with detailed instructions that should get you started here:

meghma wrote Apr 3, 2015 at 3:31 PM

Hi Govert,
Thanks for sending sample project.
It certainly helped because I am not getting the log4net error in my project any more. So from that perspective this issue can be closed.

However I am still not able to use my plugin and also the one in your project due to this same error given below. So not sure what other dependency Excel DNA might be missing.
To be sure, I have disabled any other addin from excel for this test.

Thank you so much


'excel.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll'
A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
'excel.exe' (Managed (v4.0.30319)): Loaded 'ExcelDna.Loader'
A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
'excel.exe' (Managed (v4.0.30319)): Loaded 'ExcelDna.Loader'
'excel.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll'
'excel.exe' (Managed (v4.0.30319)): Loaded 'ExcelDna.Integration'
'excel.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll'
'excel.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll'
'excel.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll'
'excel.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll'
'excel.exe' (Managed (v4.0.30319)): Loaded 'SQLiteHelper', Symbols loaded.
'excel.exe' (Managed (v4.0.30319)): Loaded 'ExcelDna.DynamicDelegateAssembly'