How to generate the Channel URI for WinUI3 applications?

Rohan Pande 375 Reputation points
2024-02-13T12:36:34.77+00:00

Hi, I have an WinUI3 unpackaged application without using XAML files project (Windows Subsystem). I am trying to bring Windows Notification Service (WNS)for my project. The sample project of Microsoft provided below works properly and generates the Channel URI. But I am not able to do the same on my project.

Reference: https://github.com/microsoft/WindowsAppSDK-Samples/blob/main/Samples/Notifications/Push/cpp-console-unpackaged/cpp-console-unpackaged.cpp

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
745 questions
{count} votes