-
Notifications
You must be signed in to change notification settings - Fork 593
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
When using assembly binding redirect a connection error is shown #1434
Comments
I have added your code here and am investigating: https://github.com/lukebakken/rabbitmq-dotnet-client-1434 |
Closed
Fixed by #1438 |
@pabermod just FYI, 6.8.0 has officially been released. Announcing it soon. |
lukebakken
added a commit
that referenced
this issue
Dec 11, 2023
Merged
lukebakken
added a commit
that referenced
this issue
Dec 11, 2023
The original change in #1438 introduced a breaking API change, reported here: addupsolutions/AddUp.FakeRabbitMQ#189
lukebakken
added a commit
that referenced
this issue
Dec 11, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When I use assembly binding redirection for System.Runtime.CompilerServices.Unsafe, if a new version of that library is used through a dependency update, and if it does not match the used version, a BrokerUnreachableException is thrown instantly when trying to connect:
Reproduction steps
Download the attached solution and start the project.
RabbitMQRedirectAssembly.zip
The System.Runtime.CompilerServices.Unsafe dll is 5.0.0.0 version but in the redirect assembly is specified 6.0.0.0.
When connecting to rabbitmq there should be an exception that indicates that the dll was not found. but instead a BrokerUnreachable exception is shown
Expected behavior
When connecting to rabbitmq there should be an exception that indicates that the dll was not found
Additional context
No response
The text was updated successfully, but these errors were encountered: