2016-07-31 7 views
-2

Ich möchte azur Push-Benachrichtigungen verwenden, aber ich kann es nicht schreibt mir bekommen arbeiten, wenn ich versuche Microsoft.Azure.NotificationHubs nuget Paket zu installieren:Wie kann ich Azure-Push-Benachrichtigungen für UWP verwenden?

Wiederherstellen Pakete für ‚App1‘. Wiederherstellen von Paketen für C: \ Benutzer \ János \ Microsoft Onedrive \ dokumentumok \ Visual Studio 2015 \ Projects \ App1 \ App1 \ project.json ... GET https://api.nuget.org/v3-flatcontainer/microsoft.windowsazure.configurationmanager/index.json OK https://api.nuget.org/v3-flatcontainer/microsoft.windowsazure.configurationmanager/index.json 498ms Microsoft.Azure.NotificationHubs 1.0.6 ist nicht kompatibel mit UAP, Version = v10.0. Microsoft.WindowsAzure.ConfigurationManager 1.7.0 ist nicht kompatibel mit UAP, Version = v10.0. Einige Pakete sind nicht kompatibel mit UAP, Version = v10.0. Microsoft.Azure.NotificationHubs 1.0.6 ist nicht kompatibel mit UAP, Version = v10.0 (win10-arm). Microsoft.WindowsAzure.ConfigurationManager 1.7.0 ist nicht kompatibel mit UAP, Version = v10.0 (win10-arm). Einige Pakete sind nicht kompatibel mit mit UAP, Version = v10.0 (win10-arm). Microsoft.Azure.NotificationHubs 1.0.6 ist nicht kompatibel mit UAP, Version = v10.0 (win10-arm-aot). Microsoft.WindowsAzure.ConfigurationManager 1.7.0 ist nicht kompatibel mit UAP, Version = v10.0 (win10-arm-aot). Einige Pakete sind nicht kompatibel mit UAP, Version = v10.0 (win10-arm-aot). Microsoft.Azure.NotificationHubs 1.0.6 ist nicht kompatibel mit UAP, Version = v10.0 (win10-x64). Microsoft.WindowsAzure.ConfigurationManager 1.7.0 ist nicht kompatibel mit UAP, Version = v10.0 (win10-x64). Einige Pakete sind nicht kompatibel mit UAP, Version = v10.0 (win10-x64). Microsoft.Azure.NotificationHubs 1.0.6 ist nicht kompatibel mit UAP, Version = v10.0 (win10-x64-aot). Microsoft.WindowsAzure.ConfigurationManager 1.7.0 ist nicht kompatibel mit UAP, Version = v10.0 (win10-x64-aot). Einige Pakete sind nicht kompatibel mit UAP, Version = v10.0 (win10-x64-aot). Microsoft.Azure.NotificationHubs 1.0.6 ist nicht kompatibel mit UAP, Version = v10.0 (win10-x86). Microsoft.WindowsAzure.ConfigurationManager 1.7.0 ist nicht kompatibel mit UAP, Version = v10.0 (win10-x86). Einige Pakete sind nicht kompatibel mit mit UAP, Version = v10.0 (win10-x86). Microsoft.Azure.NotificationHubs 1.0.6 ist nicht kompatibel mit UAP, Version = v10.0 (win10-x86-aot). Microsoft.WindowsAzure.ConfigurationManager 1.7.0 ist nicht kompatibel mit UAP, Version = v10.0 (win10-x86-aot). Einige Pakete sind nicht kompatibel mit UAP, Version = v10.0 (win10-x86-aot). Paketwiederherstellung fehlgeschlagen für 'App1'. Paketwiederherstellung ist fehlgeschlagen. Rollback-Paket ändert sich für "App1". ========== ========== Finished

Ich habe dieses Tutorial gefolgt: https://azure.microsoft.com/hu-hu/documentation/articles/app-service-mobile-windows-store-dotnet-get-started-push/

Aber es scheint, es funktioniert nicht. Kennt jemand die Lösung?

Antwort

0

@tixovoxi, es ist das nugget Problem. Ich schlage vor, Sie können das NuGet-Paket löschen und Ihre Anwendung erneut erstellen. Bitte beachten Sie diesen Beitrag, um den Nuget-Cache zu entfernen: https://stackoverflow.com/a/34935038/4836342