Xamarin forms failing ti install NotificationHub Nuget in UWP project

242 Views Asked by At

Trying this : https://learn.microsoft.com/en-us/azure/app-service-mobile/app-service-mobile-xamarin-forms-get-started-push, using VS 2017 portable Xamarin Forms project. Except UWP all other projects including IOS , Android and Portable library are getting installed with the Notificaiton nuget package. In UWP its always failing with the below error message. Thanks for your help.

Package Microsoft.Azure.NotificationHubs 1.0.9 is not compatible with uap10.0.10240 (UAP,Version=v10.0.10240) / win10-x86-aot. Package Microsoft.Azure.NotificationHubs 1.0.9 supports: net45 (.NETFramework,Version=v4.5)

1

There are 1 best solutions below

2
On BEST ANSWER

As of July 2016 Notification Hubs SDK is not available for UWP. The product team is aware of it and working on providing it.

At the moment, there are one way to workaround it:

Certain Hubs SDKs are open sourced. But, unfortunately, not Windows ones at the moment.