Export to GitHub

moq - issue #349

"Error binding to target method"


Posted on Aug 22, 2012 by Massive Rhino

I get an error that seems to be caused by this issue: http://issues.castleproject.org/issue/DYNPROXY-147 in Castle's DynamicProxy but it's supposed to be fixed. Can you please confirm that the latest NuGet verion (4.0.10827.0 for .NET 4.0) has this fix?

I can see that DynamicProxy is merged into Moq assembly so it's hard to tell which version had been referenced. I have this issue my test project that is targeted at .NET 4.0.

Comment #1

Posted on Mar 27, 2013 by Grumpy Cat

Also struggling with this issue. In my case, I am attempting to validate that my test subject handles a mocked argument that implements a required interface explicitly. I have setup the interface using .As<>(), but I still receive this error.

Status: New

Labels:
Type-Defect Priority-Medium