Method not found on RabbitMQ 6.10

474 views
Skip to first unread message

long tran

unread,
Jun 25, 2020, 12:39:28 AM6/25/20
to rabbitmq-users
I just started using RabbitMQ as a mean to send/receive message between an executable app (exe) and a Revit Addin app. Everything works perfectly fine as long as I follow the tutorial. Yet when I apply it to my apps, the Revit Addin app can not create connection to localhost due to some method could not be found. 

RabbitMq.png

I did copy the required dll file to the location where the app is run, but it didn't work. Please help me with this. 

Luke Bakken

unread,
Jun 25, 2020, 1:59:50 PM6/25/20
to rabbitmq-users
Hello,

I can barely read your screenshot, but I think you need to install RabbitMQ.Client via NuGet. When you do that, the required dependency System.Memory will also be installed.

Thanks,
Luke
----
Senior Member of Technical Staff
VMware / RabbitMQ

long tran

unread,
Jun 25, 2020, 10:04:13 PM6/25/20
to rabbitmq-users
That exactly what I did to get RabbitMQ. And I was using version 6.10. I also attached the image for better view. 
However, I believe I just found the reason for this error here (explained by Revitalizer):
Can you confirm what is said in the post? Further test and research are in process, any idea or solution is much appreciated.
RabbitMq.png

Luke Bakken

unread,
Jul 1, 2020, 9:16:19 AM7/1/20
to rabbitmq-users
Hello,

Yes that does appear to be the issue. You should be able to use assembly binding redirection to resolve it (I think?).

Thanks -
Luke

Luke Bakken

unread,
Jul 1, 2020, 9:20:53 AM7/1/20
to rabbitmq-users
Please see the discussion here - https://github.com/rabbitmq/rabbitmq-dotnet-client/pull/729#issuecomment-591704662

Please let me know if you are not able to fix this issue.

What .NET runtime and framework version are you using?

Thanks -
Luke
Reply all
Reply to author
Forward
0 new messages