The dependencies for ServiceStack.RabbitMQ.Client is RabbitMQ.Client (>= 3.6.5) But it does not work with RabbitMQ.Client version 4.1.1, as 4.x introduced some breaking changes.
[Test]
public void RabbitMqMessageFactory_ctor_throws_MissingFieldExceprion()
{
var mqConnectionFactory = new RabbitMqMessageFactory("localhost", "guest", "guest");
}
It doesn’t work because RabbitMQ.Client v4 has breaking changes and we’re stuck with the latest RabbitMQ.Client v3 because it’s the last package that works with .NET 4.5 which is the minimum framework version that all our packages require.
Upgrading the min framework requirement to .NET 4.5.1 and NuGet v3 is a structural breaking change that we wont be able to do till we merge .NET Core packages into the main NuGet packages, which wont happen until .NET Standard 2.0 is released.