I'm trying to create a QueueClient
for my Azure ServiceBus Queue.
var client = MessagingFactory.CreateQueueClient("testqueue");
I'm hitting this code using a breakpoint, but then after this, nothing happens. No exception but also no next step in code...
I'm using this inside another application so I think it might has to do something with assembly versions of somesort, but shouldn't this throw an exception? I'm very confused...
edit:
Nor the "No client" or the "Yes client" is written to the console. Also, no exception?!:
var client = MessagingFactory.CreateQueueClient("testqueue");
if(client == null) {
Console.WriteLine("No client");
} else {
Console.WriteLine("Yes client");
}