-
-
Notifications
You must be signed in to change notification settings - Fork 802
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Method not found: 'Void Castle.DynamicProxy.ProxyGenerationOptions.AddDelegateTypeMixin(System.Type)'.. #935
Comments
This is almost certainly a problem with your project setup / NuGet tooling. Make sure the right version of Castle.Core gets loaded. I'm going to close this since with 99.9% certainty, the problem doesn't reside with Moq, but with your own project. If you think that's in error, please post a repro project. |
Thank you for quick response. |
System.MissingMethodException: Method not found: 'Void Castle.DynamicProxy.ProxyGenerationOptions.AddDelegateTypeMixin(System.Type)'.. Stacktrace at Moq.CastleProxyFactory.CreateProxy(Type mockType, IInterceptor interceptor, Type[] interfaces, Object[] arguments) at Moq.Mock`1.InitializeInstance() at Moq.Mock`1.OnGetObject() at Moq.Mock.get_Object() at Moq.Mock`1.get_Object() at Msei.Fsd.OpcUaFoundationDriver.TestDoubles.OpcSessionTestDouble.get_Object()
We are using:
Moq v.4.13.0,
Castle Core 4.4.0
What is interesting: it works in Visual Studio but fails in vstest.console.exe from command line
The text was updated successfully, but these errors were encountered: