I am using MassTransit 3.5 and RabbitMq
I want to make rabbitMq Host but it is giving me an error
this is my code
var hostName = new Uri("rabbitmq://localhost");
IBusControl busControl = Bus.Factory.CreateUsingRabbitMq(c =>
{
IRabbitMqHost temp = c.Host(hostName, h =>
{
h.Username("admin");
h.Password("admin");
});
});
this line gives me the error
IRabbitMqHost temp = c.Host(hostName, h =>
"Reference to type 'IPipeConfigurator<>' claims it is defined in 'MassTransit but it could not be found"