Azure Notification Hub Client run time error


Downloaded latest Microsoft.Azure.NotificationHubs NuGet package used the NotificationHubClient to create an installation this.HubClient.CreateOrUpdateInstallation(installation);

All the default dependent packages were used when adding the NuGet. When testing I am receiving the following error:

Could not load file or assembly 'Microsoft.Extensions.Options, Version=, Culture=neutral, PublicKeyToken=adb9793829ddae60' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

I assume this is widely used. How do I get past this?

asked on Stack Overflow Apr 23, 2021 by Cbeeler

1 Answer


This is version conflict issue. Remove all your old version package and reinstall Microsoft.Extensions.Options, it will work 👍

answered on Stack Overflow Apr 24, 2021 by Rahul Shukla

User contributions licensed under CC BY-SA 3.0