codeice / linqtoexcel

Automatically exported from code.google.com/p/linqtoexcel
0 stars 0 forks source link

LinqToExcel not working with log4net 1.2.11.0 #56

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Using linqtoExcel in a project with log4net1.2.11.0 installed
2. log4net1.2.11.0 is needed to work with .netFramework 4 client profile

Error message when executing the form (not on build):

System.IO.FileLoadException: Could not load file or assembly 'log4net, 
Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821' or one of 
its dependencies. The located assembly's manifest definition does not match the 
assembly reference. (Exception from HRESULT: 0x80131040)

Original issue reported on code.google.com by keymolen...@telenet.be on 19 Oct 2011 at 1:30

GoogleCodeExporter commented 8 years ago
LinqToExcel does not work with the client profile of .Net 4.0   See this 
reference: http://code.google.com/p/linqtoexcel/wiki/UsingLinqToExcel#.Net_4

Original comment by paulyo...@gmail.com on 19 Oct 2011 at 1:38

GoogleCodeExporter commented 8 years ago
This is because it is using log4net, Version=1.2.10.0
If it should use the new one, it will work with the client profile of .Net 4.0..

I modified the source code so it works with log4net 1.2.11 and now it works 
fine with .NET4 client profile

Original comment by keymolen...@telenet.be on 19 Oct 2011 at 2:29

GoogleCodeExporter commented 8 years ago
Oh, thanks for the correction. I can't believe I missed that before.

Can you send me the modified source code so I can commit it to the repository 
and allow others to use LinqToExcel with the client profile.

Thanks!

Original comment by paulyo...@gmail.com on 19 Oct 2011 at 3:19