App-Crash with Microsoft.Azure.NotificationHubs

Klaus Krönert 31 Reputation points
2024-09-24T02:28:21.2033333+00:00

Hello,

i have a UWA Project. To send Notification, in history i use the REST-API from Azure Notification Hub. But still not works if i will use/build a Release App in Visual Studio.

On Android, no issue with the NUGET if i will send Notification

On UWA, on DEBUG Mode no issue, but if i set to RELEASE, i got the Error: "Der Typ "Microsoft.Azure.NotificationHubs.CDataMember" besitzt keine statische "GenerateSchema"-Methode mit einem Parameter vom Typ "System.Xml.Schema.XmlSchemaSet", wie vom Attribut "XmlSchemaProviderAttribute" angegeben."

But only i have installed the NUGET. In Application, for first test, i didn't use it.

Azure Notification Hubs
Azure Notification Hubs
An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.
318 questions
Universal Windows Platform (UWP)
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.