In my project I need to use both Castle.Windsor and Moq DLLs. Windsor requires Castle.Core also referenced in the project.
The problem starts when I try to use methods from Castle.Core:
Castle.DynamicProxy.Generators.AttributesToAvoidReplicating.Add(...);
Tasks 1:
If I use the Moq.dll file from the NET40 folder, I got a "Type. Castle.DynamicProxy.Generators.AttributesToAvoidReplicating" error exists in both "... \ Windsor \ dotNet40 \ Castle.Core.dll" and "... \ MOq \ NET40 \ Moq.dll '"
tasks2:
If I use the Moq.dll file from the "NET40-RequiresCastle" folder, which is logical in my situation, I have version conflicts - Moq.dll uses Castle.Core, Version = 2.5.0.0, but Windsor uses Castle.Core, Version = 2.5.1.0
source
share