log4net dependency problem
- by Alex DeLarge
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..