In my solution, I have several projects which use Log4Net (1.2 and 2.5).
Then I have a project where I do all the unit testing (of the other projects). So I'm in a situation where depending on what I test/mock I would need Log4Net 1.2 or 2.5.
I read you could support different version of a single assembly in an application (using codebase etc.) but is it even possible to support different version of a single assembly into a project? If so, how?
EDIt:
Here's a tiny (2 classes, 2 methods, 2 constructors) project showing my issue:
https://srv-file1.gofile.io/download/EQFdOs/212.76.254.142/Log4NetMulti.zip
(I hope the link work)
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…