Hi,
This is probably a total newbie question, sorry for that - but I can't seem to see the answer...
We are looking to use NHibernate with our project, but we are already using log4net 1.2.10.0 (the one with the strong name change...
http://marc.theaimsgroup.com/?l=log4net-user&m=115089697317244&w=2
I tried to run NHibernate with this version, but got this error:
Code:
Could not load file or assembly 'log4net, Version=1.2.9.0, Culture=neutral, PublicKeyToken=b32731d11ce58905'
So I thought, no problem I'll recompile NHibernate against the new version... I built NH using the 1.0.2 install no problem - so I switched the log4net.dll and got then this error during the build:
Code:
build:
[attrib] Setting file attributes for 1 files to Normal.
[csc] Compiling 478 files to 'C:\installed\nhibernate-1.0.2.0\build\nhibernate-1.0.2.0\bin\NHibernate.dll'."
[csc] fatal error CS0009: Metadata file 'c:\installed\nhibernate-1.0.2.0\build\nhibernate-1.0.2.0\bin\log4net.dll' could not be open
ed -- 'Version 2.0 is not a compatible version.'
BUILD FAILED
C:\installed\nhibernate-1.0.2.0\src\NHibernate\NHibernate.build(70,4):
External Program Failed: c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\csc.exe (return code was 1)
Total time: 1.4 seconds.
Any thoughts?
Thanks in advance,
Chris