AzureServiceBus NetStandard2 MqClient throwing error

I’m using the AzureServiceBus plugin and attempting to run the following example .net core 2 code.

public class HelloService : Service
        public object Any(SendEmail request)
            return new SendEmailResponse() { Email = "Sent!" };

    //Define the Web Services AppHost
    public class AppHost : AppSelfHostBase
        public AppHost()
        : base("HttpListener Self-Host", typeof(HelloService).Assembly) { }

        public override void Configure(Funq.Container container)
            var servicebus = new ServiceBusMqServer(KEY HERE);


            //    using (var mqClient = servicebus.CreateMessageQueueClient())
            //    {
            //        mqClient.Publish(new SendEmail { Name = "From .net 4.7.1" });

            //    }
            //catch (Exception e)
            //    Console.WriteLine(e.Message);


    static void Main(string[] args)
        var listeningOn = args.Length == 0 ? "http://*:1339/" : args[0];
        var appHost = new AppHost()

        var servicebus = new ServiceBusMqServer(KEY HERE);

        using (var mqClient = servicebus.CreateMessageQueueClient())
            mqClient.Publish(new SendEmail { Name = "FromCore" });

            var qname = QueueNames<SendEmailResponse>.In;

            ////Block until the Response is Received:
            var responseMsg = mqClient.Get<SendEmailResponse>(qname);
            mqClient.Ack(responseMsg); //Acknowledge the message was received



A NullReferenceException is thrown when attempting to read the response of the message sent.
I’ve traced it to - ServiceStack.Azure.Messaging.QueueClientExtensions where the following line static readonly System.Reflection.PropertyInfo innerReceiverProperty = typeof(Microsoft.Azure.ServiceBus.QueueClient).GetProperty(“InnerReceiver”);
is always null.

Am I missing some steps when setting up the service?

Should be resolved with this commit. This change is available from v5.1.1 that’s now available on MyGet.

What is the best way to ensure that I have the correct myget package when you republish with the same version number?

I’ve tried uninstalling , reinstalling, clearing the local nuget cache and all that i get now is the following error message

System.IO.FileLoadException: Could not load file or assembly 'Microsoft.Azure.ServiceBus, Version=, Culture=neutral, PublicKeyToken=7e34167dcc6d6d8c'.

My bad, I updated the project deps without updating the .nuspec deps, should be resolved from this commit. The latest v5.1.1 on MyGet references the latest version of each dependency.

If you clear your NuGet cache and restore it should pull the the latest packages:

$ nuget locals all -clear