'Moq MissingMethodException when upgrading projects without Castle

I'm upgrading Moq in my unit test projects from a fairly old version (3.2.1) and ran into the infamous MissMethodException on Castle.DynamicProxy.ProxyGenerationOptions.AddDelegateTypeMixin. I ran through all of my projects and upgraded Castle.Core and Castle.Windsor, but now I have a few projects where I still get this exception. The failing projects don't have any references to Castle. Is this expected behaviour, and do I have to add Castle references to unit test projects now in order to use Moq?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source