Skip to content
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

"Error binding to target method" #26

Closed
hiredgunhouse opened this issue Aug 22, 2012 · 2 comments
Closed

"Error binding to target method" #26

hiredgunhouse opened this issue Aug 22, 2012 · 2 comments

Comments

@hiredgunhouse
Copy link

See the issue reported here: https://code.google.com/p/moq/issues/detail?id=349
BTW. Why there's no mention on the Google Project site that Moq has new source code repo?

@tparikka
Copy link

@hiredgunhouse Does this issue still occur in Moq 4.7.9? If so, can you provide steps/code to reproduce? The link http://issues.castleproject.org/issue/DYNPROXY-147 at the Google Code project location is broken so it's not possible to see what it originally referenced.

@stakx
Copy link
Contributor

stakx commented Jun 3, 2017

The bug report on the Google Code page reads:

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.

The mentioned link to the Castle DynamicProxy issue is broken, but it was probably this issue:
https://github.com/castleproject/castle-youtrack-export/blob/master/DYNPROXY/DYNPROXY-147.xml

That issue has been fixed in Castle DynamicProxy since around version 2.5.2. Moq no longer embeds DynamicProxy, but references the Castle.Core NuGet package (currently version 4), so yes, this bug should no longer affect Moq.

BTW. Why there's no mention on the Google Project site that Moq has new source code repo?

This has been fixed since.

@hiredgunhouse, I hope your question has been answered. If you have a repro for this old bug, please report back. In the meantime, I am closing this issue.

@stakx stakx closed this as completed Jun 3, 2017
@devlooped devlooped locked and limited conversation to collaborators Sep 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants