soorajmamar / moq

Automatically exported from code.google.com/p/moq
Other
1 stars 0 forks source link

"Error binding to target method" #349

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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.

Original issue reported on code.google.com by PiotrOws...@gmail.com on 22 Aug 2012 at 1:57

GoogleCodeExporter commented 8 years ago
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.

Original comment by carro...@gmail.com on 27 Mar 2013 at 5:05