921 questions with Windows development | Windows App SDK tags

Sort by: Updated
0 answers

Maui App crashes on Iphone

So my first Maui app works fine in Debug mode but when I deploy it via Testflight it aborts immediately. I'm at a loss at what else I can try. Using Visual Studio 2022 , deploying via a paired mac to IOS 18. The full dump from the crash follows there…

Windows development | Windows App SDK
asked 2025-09-16T04:24:18.5066667+00:00
John Ticehurst 0 Reputation points
1 answer

How can we explicitly register all high-level interaction events for every widget in WinUI3 at once?

Hi, I'm developing a WinUI 3 desktop application using pure C++ (without XAML). My project is quite complex: it will have multiple windows (at least 5), and each window may contain 500 or more widgets. I want to handle high-level events such as pointer…

Windows development | Windows App SDK
asked 2025-08-22T07:05:54.45+00:00
Harshithraj1871 1,706 Reputation points
answered 2025-09-16T03:14:23.2766667+00:00
Tony Dinh (WICLOUD CORPORATION) 955 Reputation points Microsoft External Staff
2 answers

Can I install WinRT 15063 on Windows 1607 LTSB?

I have an application that uses a bluetooth device, which has an API (built by a 3rd party) that uses namespaces from Windows SDK build 15063, but has to run on a computer running Windows 10 v1607 LTSB. The API accesses the GattDeviceService class and…

Windows development | Windows App SDK
asked 2025-09-01T16:45:01.53+00:00
Colm de Cleir 136 Reputation points
answered 2025-09-16T02:39:58.85+00:00
Tony Dinh (WICLOUD CORPORATION) 955 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

URGENT : How to use ESIMWATCHER class during development phase.

Hi, I have been working on a product for a client, that requires the usage of ESIMWATCHER class. I know it is a custom capability that needs to be declared in package manifest and then needs to be submitted for approval of custom capability. But all…

Windows development | Windows App SDK
asked 2025-09-02T11:56:10.6833333+00:00
Abhishek Gupta 20 Reputation points
accepted 2025-09-15T23:30:33.6+00:00
Abhishek Gupta 20 Reputation points
0 answers

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 20 Reputation points
commented 2025-09-15T04:08:57.1266667+00:00
Harry Vo (WICLOUD CORPORATION) 1,875 Reputation points Microsoft External Staff
2 answers

Exception downloading a DLC from Microsoft Store using WinUI 3 app.

I am using the method StoreContext.DownloadAndInstallStorePackagesAsync to download a DLC from Microsoft Store. The documentation describes that the method does not display UI dialog to the user. In an UWP sample, the code below works ok. StoreContext…

Windows development | Windows App SDK
asked 2025-09-08T16:07:52.6633333+00:00
Bruno Lima 1 Reputation point
commented 2025-09-15T02:59:16.7066667+00:00
Harry Vo (WICLOUD CORPORATION) 1,875 Reputation points Microsoft External Staff
1 answer

How to set icons for task manager and task bar for packaged WINUI3 Application

I am having problems with setting up icons with task bar and task manager. Task manager - I get the default icon for the first line but the app icon is set ok on the second line With my task bar i get a blue background on my icon instead of transparent.…

Windows development | Windows App SDK
asked 2025-09-10T06:21:40.9233333+00:00
J Ang 0 Reputation points
commented 2025-09-15T02:58:03.01+00:00
Harry Vo (WICLOUD CORPORATION) 1,875 Reputation points Microsoft External Staff
2 answers

StorageProviderSyncRootManager.Unregister sync root not unregistering on uninstallation

https://learn.microsoft.com/en-us/uwp/api/windows.storage.provider.storageprovidersyncrootmanager.unregister this site states Packaged desktop apps do not need to call this method on uninstall, because the sync root will be automatically unregistered by…

Windows development | Windows App SDK
asked 2025-09-10T19:34:20.1833333+00:00
Kai DeLorenzo 0 Reputation points
commented 2025-09-15T02:56:13.4466667+00:00
Harry Vo (WICLOUD CORPORATION) 1,875 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

I can't submit .msix package to MS Stroe anymore?!

Recently, the Windows App SDK was updated to version 1.8, and I upgraded my application to WAS1.8. It generated a new msixbundle bundle, so I submitted a new msixbundle in the new version. Unfortunately, WAS1.8 has a serious bug that can damage my…

Windows development | Windows App SDK
asked 2025-09-11T09:18:04.98+00:00
阳 陈 21 Reputation points
accepted 2025-09-15T02:32:31.65+00:00
阳 陈 21 Reputation points
2 answers One of the answers was accepted by the question author.

Display a content dialog

In winUI, for some reason, to display a Content Dialog, you need an "xaml root" like this private async void ShowDialog_Click(object sender, RoutedEventArgs e) { ContentDialog dialog = new ContentDialog(); // XamlRoot must be set in…

Windows development | Windows App SDK
asked 2023-07-05T20:55:16.99+00:00
Eduardo Gomez 3,791 Reputation points
commented 2025-09-11T08:35:54.3633333+00:00
Ludovico Clementi 0 Reputation points
1 answer One of the answers was accepted by the question author.

Hello I am making a winui3 app and i want to make the navigation view in my app looks like the style that is founded in microsoft store

I want to implement the same style of navigation that is founded in microsoft store to my winui3 app can any one help me. Thanks to everyone

Windows development | Windows App SDK
asked 2025-09-03T14:21:33.2733333+00:00
Omar Mohamed 20 Reputation points
commented 2025-09-05T19:09:27.7566667+00:00
Omar Mohamed 20 Reputation points
1 answer

Convert WPF solution to winui3 + win32

HI Could you please guide me to convert the wpf application to WinUI3 + win32 application. I have wpf solution in hand. now i need to convert that solution to winui3. i have all the setup ready for winui3 development.

Windows development | Windows App SDK
asked 2021-11-04T09:51:40.393+00:00
MM, Sunil 86 Reputation points
answered 2025-09-03T15:30:02.12+00:00
Omar Mohamed 20 Reputation points
1 answer

Issue Installing Microsoft.WindowsAppSDK v1.7.3 with net8.0-windows10.0.19041.0 Target Framework

Hello, Please, I need help regarding a compatibility issue. I am currently using the following target framework in my project: <TargetFramework>net8.0-windows10.0.19041.0</TargetFramework> <PropertyGroup…

Windows development | Windows App SDK
asked 2025-08-28T11:19:47.3733333+00:00
Mosabbir Alam 0 Reputation points
commented 2025-08-29T13:29:26.75+00:00
Darran Rowe 2,356 Reputation points
1 answer One of the answers was accepted by the question author.

WinUI packaged app does not produce _bundle.msixupload file

I created a simple WinUI Blank App (packaged), but I have not been able to produce a bundle file for Microsoft Store submission. Here is what I did. Right-click the project > Package and Publish > Associate App with the Store Right-click the…

Windows development | Windows App SDK
asked 2025-08-10T05:24:23.5733333+00:00
Hong 1,326 Reputation points
commented 2025-08-13T20:16:26.2666667+00:00
Hong 1,326 Reputation points
1 answer One of the answers was accepted by the question author.

What is a context which allows MemberwiseClone() to be called

I have a Person class and a ocPeople class defined as: ocPeople = ObservableCollection(Of Person) ocPeople is used as the ItemsSource for a ComboBox. What I want to do is to create another ObservableCollection(Of Person) which is the original with the…

Windows development | Windows App SDK
asked 2025-08-07T22:08:10.11+00:00
RogerSchlueter-7899 1,486 Reputation points
commented 2025-08-12T01:47:03.0866667+00:00
RogerSchlueter-7899 1,486 Reputation points
0 answers

UDTs in IDL cause C2787 in Visual Studio C++ because of faulty DECLSPEC location in generated interface definition header file

As mentioned in https://developercommunity.visualstudio.com/t/UDTs-in-IDL-cause-C2787-because-of-fault/10947425, the MIDL compiler appears to put the uuid in front of, instead of after, the "struct" keyword in the generated header file, causing…

Windows development | Windows App SDK
asked 2025-08-11T07:22:16.7733333+00:00
Gert Leunen 0 Reputation points
1 answer

SignTool Error: This file format cannot be signed because it is not recognized

I have been attempting to sign a .cat file, but I keep getting the error message that the file format is not recognized. I thought that maybe it was the file itself, so I tried with .pdf, .txt, and .exe files, but the same thing happens. I have a valid…

Windows development | Windows App SDK
asked 2025-08-03T10:31:30.09+00:00
Nerd With Coffee 0 Reputation points
commented 2025-08-08T20:39:41.09+00:00
Nerd With Coffee 0 Reputation points
0 answers

WinRT Windows.Graphics.Capture leads to application freezing

I use WinRT Windows.Graphics.Capture to capture screens or windows. My code is almost identical to WebRTC's implementation. User reported that the application freezes when quitting. The stack trace is: 00 000000e5`783fd058 00007ffb`93a28422 …

Windows development | Windows App SDK
asked 2025-08-07T09:38:32.49+00:00
Derek Lu 0 Reputation points
edited the question 2025-08-07T16:27:43.47+00:00
Rob Caplan - MSFT 6,127 Reputation points Microsoft Employee Moderator
0 answers

How to map the App PFN to its Azure AppId?

Hi, I follow the steps in the documentation especially Step 4 (Map your app's Package Family Name to its Azure AppId) but the email to always fails (undelivered). I need to map my app PFN to its Azure AppId. without this critical step the WNS will not…

Windows development | Windows App SDK
asked 2025-05-18T13:51:59.7233333+00:00
Microlead Software 76 Reputation points
edited a comment 2025-08-07T09:46:55.6866667+00:00
Kiran P 8,235 Reputation points Microsoft External Staff Volunteer Moderator
0 answers

Install a MSIX Sparse Package using ProvisionPackageForAllUsersAsync is not always worked

Hi team, In my code, I use PackageManager.StagePackageByUriAsync and PackageManager.ProvisionPackageForAllUsersAsync to install the package for all users in Win11 machine. The package is a MSIX Sparse Package used for the Modern Context Menu. The…

Windows development | Windows App SDK
asked 2025-08-05T06:38:21.2933333+00:00
Glority 0 Reputation points
edited the question 2025-08-05T06:40:16.6366667+00:00
Glority 0 Reputation points