log4net dependency problem
Posted
by Alex DeLarge
on Stack Overflow
See other posts from Stack Overflow
or by Alex DeLarge
Published on 2010-04-13T13:44:58Z
Indexed on
2010/04/13
13:52 UTC
Read the original article
Hit count: 964
I have an issue with log4net which has been bugging me for a while and I've resolved to sort it.
I have a class library which references log4net. If I reference this class library in another project I must then reference log4net in this project otherwise I get a build error
Unknown build error, 'Cannot resolve dependency to assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821' because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event.'
I'm aware that the error message is probably telling me the solution, unfortunately I don't speak gibberish...
Cheers guys
Alex..
© Stack Overflow or respective owner