1,001 questions with Windows development | Windows App SDK tags

Sort by: Updated
3 answers

WNS Push Notification Failing — Microsoft Store Package SID and App Registration Mismatch

Platform: Windows Desktop App (miniOrange Authenticator) Notification Service: Windows Push Notification Service (WNS) Account Type: Personal Microsoft Account Issue: WNS push notification delivery failing due to App ID mismatch Problem Description: I…

Windows development | Windows App SDK
asked 2026-04-02T10:25:15.68+00:00
Dinesh Kanna P 0 Reputation points
commented 2026-04-09T10:08:47.1066667+00:00
Jay Pham (WICLOUD CORPORATION) 3,515 Reputation points Microsoft External Staff Moderator
1 answer

Radio Class -Windows.Devices.Radios -StateChanged changed event is not firing

Hi Team, I have below code in my C# file, I am running this code from the Winui3 applicattion. But BluetoothRadio_StateChanged event handler is not firing in windows 10 platform but it works well in the windows 11 machine. Class A { A() { …

Windows development | Windows App SDK
asked 2026-04-08T10:30:56.0666667+00:00
Marulasiddaiah, Sunil - Dell Team 0 Reputation points
edited a comment 2026-04-09T09:42:10.8+00:00
Marulasiddaiah, Sunil - Dell Team 0 Reputation points
1 answer

CNG NCrypt Persisted Key Not Found After VM Image Transfer to Physical Machine — NTE_BAD_KEYSET & NTE_EXISTS Conflict

Background I am developing an application that uses the Windows CNG (Cryptography Next Generation) API with the Microsoft Key Storage Provider (KSP) to generate persisted cryptographic keys and use them for encryption and decryption. The following NCrypt…

Windows development | Windows App SDK
asked 2026-04-08T06:21:21.4533333+00:00
B D, Anup 20 Reputation points
answered 2026-04-08T08:27:34.5366667+00:00
Jack Dang (WICLOUD CORPORATION) 16,115 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

Does NetworkInformation.GetInternetConnectionProfile require location service to be turned on?

I’m using NetworkInformation.GetInternetConnectionProfile() to get Wi-Fi details like signal strength and SSID for my application. I noticed that when Location Services are turned off, these details are not returned. But as soon as I turn Location…

Windows development | Windows App SDK
asked 2026-04-07T05:09:51.6366667+00:00
Sreekanth N Kartha 80 Reputation points
commented 2026-04-07T06:23:32.0166667+00:00
Michael Le (WICLOUD CORPORATION) 11,160 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

App Icon - Windows App SDK

I've tried this https://github.com/microsoft/microsoft-ui-xaml/issues/4056 but no use. How do I add an icon for my WinUI 3 Windows App SDK app both in window title bar as well as the taskbar?

Windows development | Windows App SDK
asked 2022-04-22T14:40:12.65+00:00
Hemanth B 886 Reputation points
commented 2026-04-04T23:03:55.92+00:00
Huang 80 Reputation points
6 answers

HOW TO FIX 0xA00F4250 <PhotoCaptureStartFailed> (0xC00D3EA2)

I am encountering the error 0xA00F4250 <PhotoCaptureStartFailed> (0xC00D3EA2) when trying to start photo capture using Windows camera APIs. The failure occurs at the point where photo capture is initialized, and the operation does not start…

Windows development | Windows App SDK
asked 2026-02-08T18:05:11.7566667+00:00
Kunal Mahto 0 Reputation points
answered 2026-03-26T11:37:55.5133333+00:00
B Vishnu 0 Reputation points
3 answers One of the answers was accepted by the question author.

Is it possible to create a desktop application that uses Phi Silica?

I've been trying to follow this article: https://dori-uw-1.kuma-moon.com/en-us/windows/ai/apis/phi-silica And having no luck. I have both a QualComm SnapDragon Windows Dev unit and a brand new Surface Laptop with SnapDragon. Both Copilot + PCs. I'm using VS…

Windows development | Windows App SDK
asked 2026-02-05T00:00:48.61+00:00
Mike Yeager 51 Reputation points
accepted 2026-03-25T15:44:28.5233333+00:00
Mike Yeager 51 Reputation points
1 answer

How to fix this Event Viewer Crash showing up in my Application Log?

I am not receiving any popup errors or software not working with this error but it seems the error exits "behind the scene". I noticed in the Event Viewer the "Error" or "crash" noted and happens every day. This is an…

Windows development | Windows App SDK
asked 2026-02-28T17:42:01.5066667+00:00
Charles High 5 Reputation points
recommended 2026-03-17T10:48:01.2166667+00:00
Lynn Dang (WICLOUD CORPORATION) 0 Reputation points Microsoft External Staff Moderator
2 answers

How to Develop Custom Decoder Media Foundation Transform Extension in Microsoft Store (Custom Decoder MFT)

Hello everyone, I would like to ask about the process of developing a Custom Decoder Media Foundation Transform like VP9 on the Microsoft Store. - How can I develop an extension like VP9 so that the Media Player can use it to play videos? I understand…

Windows development | Windows App SDK
asked 2026-02-10T11:14:25.4866667+00:00
Le Manh 0 Reputation points
commented 2026-03-12T06:39:12.73+00:00
Danny Nguyen (WICLOUD CORPORATION) 6,615 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

Does StoreAppLicense.AddOnLicenses return historical add-on licenses or only active ones?

StoreAppLicense appLicense = await context.GetAppLicenseAsync(); var licenses = appLicense.AddOnLicenses.Values.ToList(); My app offers several subscription products, and a user should only have one active subscription at a time. I want to confirm…

Windows development | Windows App SDK
asked 2026-03-07T12:16:03.3233333+00:00
Muhammed Işık 60 Reputation points
accepted 2026-03-09T15:04:38.6366667+00:00
Muhammed Işık 60 Reputation points
1 answer

SignTool Remove

Hello, Why SignTool can sign many file types but "Remove" is not added to most of them?! I signed some .msix files, need to revert: SignTool Remove /S /Q "D:*.msix" SignTool Remove /S /Q "D:\Setup.msix" SignTool Error:…

Windows development | Windows App SDK
asked 2026-02-27T14:43:50.4533333+00:00
Halifax Crosby 160 Reputation points
edited a comment 2026-03-05T10:27:27.15+00:00
Michael Le (WICLOUD CORPORATION) 11,160 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

view source working in vs2022 but not in VS 2026

In LIve Visual Tree in VS 2026 insider , view source working in vs2022 but not in VS 2026

Windows development | Windows App SDK
asked 2025-11-12T11:55:01.1033333+00:00
Ben-Haim, Udi 25 Reputation points
commented 2026-03-04T04:09:36.7766667+00:00
Michael Le (WICLOUD CORPORATION) 11,160 Reputation points Microsoft External Staff Moderator
2 answers

Why does Microsoft Store Collections API return an empty items list for the purchased subscription?

I am integrating the Microsoft Store Collections API to retrieve the transactionId of the purchased subscription product. Firstly I generate an Entra ID access token for query: try { final response = await http.post( …

Windows development | Windows App SDK
asked 2026-02-13T12:01:26.4+00:00
Muhammed Işık 60 Reputation points
commented 2026-03-03T09:17:43.8+00:00
Michael Le (WICLOUD CORPORATION) 11,160 Reputation points Microsoft External Staff Moderator
2 answers

Win UI 3.0 - Windows development Windows App SDK issue

ContentDialog issue: In Winui 3.0, we do have Content Dialog to show (which doesn't behave like Modal dialog). Here, concern is, I can still go to the window behind and operate even though the content dialog is already popup. Any solution to freeze the…

Windows development | Windows App SDK
asked 2026-02-16T06:44:57.4133333+00:00
commented 2026-03-03T09:16:17.16+00:00
Michael Le (WICLOUD CORPORATION) 11,160 Reputation points Microsoft External Staff Moderator
1 answer

0x80073cfd while installing downloaded APPX Package

I'm trying to move an application (APPX) to my LG Quantum/Optimus 7Q/C-900 (running Windows Phone 7.5), but when I try to launch or deploy the package using WDP, I get this exact message: Failure reason: Windows cannot install package because this…

Windows development | Windows App SDK
asked 2026-02-21T21:21:39.8533333+00:00
stikdad 0 Reputation points
commented 2026-03-03T09:02:19.1+00:00
Michael Le (WICLOUD CORPORATION) 11,160 Reputation points Microsoft External Staff Moderator
2 answers

Application crashing faulting module MSVC100.DLL

I took a dmp from my application crash see below : (just would like to know if issue is a problematic dll MSVC100.DLL or the code is the issue ? 0:004> kb  # ChildEBP RetAddr      Args to Child              00 03dee36c 76da24c0     00000003 03dee95c…

Windows development | Windows App SDK
asked 2025-11-20T12:50:37.21+00:00
Thales 0 Reputation points
commented 2026-03-01T10:21:27.1166667+00:00
Sujoy Bhawal 0 Reputation points
1 answer One of the answers was accepted by the question author.

Hello can any one help me to be able to set the data context for the window and page and uaer control for my winui3 app

Hi I am creating a winui3 app and i have a 2 pages and I have a class that contains 2 Bindable properites and i want to set the data context for the 2 pages to be this class to be able to bind this bindable properites to the 2 pages elements. …

Windows development | Windows App SDK
asked 2025-09-06T09:48:29.7033333+00:00
Omar Mohamed 120 Reputation points
accepted 2026-02-28T13:26:19.98+00:00
Omar Mohamed 120 Reputation points
2 answers

Kinect for Windows 11 has broken!!! (Solve Found)

Very sadly, the connection to Kinect V2 no longer works with Windows 11 - the error is constantly the same from Kinect for Windows no matter what one does. Everything connects other than 'Update Configuration Definitions' (failed to update) and 'USB…

Windows development | Windows App SDK
asked 2025-11-05T01:15:11.6066667+00:00
tw1421 10 Reputation points
commented 2026-02-27T12:55:15.36+00:00
Evandro de Oliveira Santana 0 Reputation points
2 answers

Tutorial for Developing Custom Decoder Media Foundation Transform Extension in Microsoft Store

Dear everyone, I need Develop Custom Decoder Media Foundation Transform Extension in Microsoft Store like AV1 Video Extension (https://apps.microsoft.com/detail/9mvzqvxjbq9v?hl=en-US&gl=VN) . Are there any tutorial or example about developing Custom…

Windows development | Windows App SDK
asked 2026-02-10T12:14:00.2266667+00:00
Le Manh 0 Reputation points
commented 2026-02-18T10:44:26.37+00:00
Danny Nguyen (WICLOUD CORPORATION) 6,615 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

Is using the Collections ID from GetCustomerCollectionsIdAsync to track sessions and enforce device limits per subscription compliant with Microsoft Store policies?

I have a UWP app that is free to install, but users must subscribe to one of the plans provided within the app. Since the same subscription/license can be used on multiple devices, I plan to retrieve the Microsoft Store Collections ID using…

Windows development | Windows App SDK
asked 2026-01-31T18:08:22.92+00:00
Muhammed Işık 60 Reputation points
accepted 2026-02-13T12:22:10.13+00:00
Muhammed Işık 60 Reputation points