69 questions with Windows development | WinUI tags

Sort by: Updated
1 answer One of the answers was accepted by the question author.

Performance issue with Store update APIs - AppInstallManager and StoreContext

I'm experiencing slow response times when checking for app updates in my Windows Service application using Microsoft Store APIs. The affected APIs are AppInstallManager.SearchForUpdatesAsync() and…

Windows development | WinUI
asked 2026-04-06T23:33:35.19+00:00
Diogo Costa Maranhao Rodrigues 120 Reputation points
accepted 2026-04-07T12:03:47.6666667+00:00
Diogo Costa Maranhao Rodrigues 120 Reputation points
1 answer One of the answers was accepted by the question author.

How can I download a package flight bundle programmatically?

I'm developing a Packaged Windows Service which is available on the Microsoft Store. Now I need to download the package flight bundle associated with the current logged account to perform a installation/update. How can I implement this? Running in…

Windows development | WinUI
asked 2026-03-24T13:30:26.6633333+00:00
Diogo Costa Maranhao Rodrigues 120 Reputation points
accepted 2026-03-31T10:27:19.74+00:00
Diogo Costa Maranhao Rodrigues 120 Reputation points
2 answers

how to get a msix file for Windows App Runtime 1.7

I have tried to use CoPilot to help me to use the correct MSIX file to provision the correct runtime in a multiuser environment

Windows development | WinUI
asked 2026-03-24T15:18:14.57+00:00
Mikael MW. Wallinder 0 Reputation points
commented 2026-03-30T08:44:47.7433333+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.

WinUI3 Webview2 is not working in non-admin mode

Hi In WPF .netframework based application , i use to create separate user data folders for different users and pass that to my webview2 environment while creating webview2 object. It works fine. But with WinUI3 , i am doing the same thing but my…

Windows development | WinUI
asked 2026-03-25T11:57:54.52+00:00
Vishal2 Bansal 345 Reputation points
accepted 2026-03-27T10:21:53.5433333+00:00
Vishal2 Bansal 345 Reputation points
1 answer One of the answers was accepted by the question author.

How to retrieve MSA token from WinUI application to download Package Flight bundles

I need to retrieve an MSA (Microsoft Account) token from a WinUI application to download bundles that were made available through Microsoft Store Package Flight. I have a WinUI application and need to authenticate with Microsoft Account to download…

Windows development | WinUI
asked 2026-03-24T17:54:24.5066667+00:00
Diogo Costa Maranhao Rodrigues 120 Reputation points
accepted 2026-03-25T15:47:47.1633333+00:00
Diogo Costa Maranhao Rodrigues 120 Reputation points
2 answers One of the answers was accepted by the question author.

logging functionality failed in kiosk mode.

We have a WinUI 3 application that runs in kiosk mode.(Implemented using Shell Launcher v2) The logging functionality will output log files to following directory. Log path: C:\ProgramData\APP\KIOSKAPP\Logs But it seems that logging functionality does…

Windows development | WinUI
asked 2026-03-16T06:19:16.6933333+00:00
Liang, Ming 101 Reputation points
commented 2026-03-17T06:08:34.13+00:00
Jay Pham (WICLOUD CORPORATION) 3,515 Reputation points Microsoft External Staff Moderator
2 answers

Duplicate application icons in taskbar after running overnight.

We have a WinUI 3 application. When it is launched in Win11, there is one application icon on the taskbar. But there will be two application icons on the taskbar after the application running overnight. What are the possible causes of this duplicate icon…

Windows development | WinUI
asked 2026-03-09T00:52:43.8666667+00:00
Liang, Ming 101 Reputation points
commented 2026-03-12T10:33:14.4766667+00:00
Jay Pham (WICLOUD CORPORATION) 3,515 Reputation points Microsoft External Staff Moderator
2 answers

How to project a single media player video to multiple canvas/ playerElement?

Hi I goal is :- A video of 3840 x 2160 resolution is playing . So what i want is similar to view port (VisualBrush functionality similar in WPF) in WinUI3. I want to view the video from position width = (1000 to 1500), (1500 to 2000) ,(2000 to 3840)…

Windows development | WinUI
asked 2026-01-22T06:26:54.7133333+00:00
Vishal2 Bansal 345 Reputation points
commented 2026-03-12T08:25:33.4033333+00:00
Vishal2 Bansal 345 Reputation points
1 answer One of the answers was accepted by the question author.

How to remove the duplicate application icons on taskbar in kiosk mode?

We have a WinUI 3 application that runs in kiosk mode.(Implemented using Shell Launcher v2) Here is how to reproduce duplicate application icons on taskbar: Steps: Turn on kiosk mode in application. Logon user. (Application start running in kiosk…

Windows development | WinUI
asked 2026-03-11T00:30:55.6933333+00:00
Liang, Ming 101 Reputation points
commented 2026-03-12T01:40:57.8766667+00:00
Liang, Ming 101 Reputation points
2 answers One of the answers was accepted by the question author.

The application get restarted when waking from sleep and signing in.

We have a WinUI 3 application that runs in kiosk mode.(Implemented using Shell Launcher v2) It will pop up a startup window displaying "Launching APP" when the application is started. Here is how to reproduce this restart behavior: Steps:…

Windows development | WinUI
asked 2026-03-10T06:23:05.9933333+00:00
Liang, Ming 101 Reputation points
accepted 2026-03-10T08:15:26.3666667+00:00
Liang, Ming 101 Reputation points
2 answers

WIN UI 3.0 issues

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 | WinUI
asked 2026-02-16T06:24:41.54+00:00
edited a comment 2026-03-03T10:44:30.0233333+00:00
Michael Le (WICLOUD CORPORATION) 11,160 Reputation points Microsoft External Staff Moderator
1 answer

How to change app type from exe/msi to msix?

I have an app in the Windows store that I created as exe/msi. How do I change the app type to msix?

Windows development | WinUI
asked 2026-02-04T01:30:49.8633333+00:00
Christopher Jahn (softlex) 0 Reputation points
commented 2026-03-03T09:42:13.8966667+00:00
Michael Le (WICLOUD CORPORATION) 11,160 Reputation points Microsoft External Staff Moderator
2 answers

WinUI3 App crashing at launch

WinUI3 App crashing at launch (certification) but works fine in development machine, how to resolve this issue.

Windows development | WinUI
asked 2026-02-03T06:08:27.2+00:00
gopi parimi 0 Reputation points
commented 2026-03-03T09:41:32.7433333+00:00
Michael Le (WICLOUD CORPORATION) 11,160 Reputation points Microsoft External Staff Moderator
3 answers

Opening folder picker

Wainui does not let me I have a window and 2 pages Main Window <Grid> <NavigationView x:Name="NavView" IsBackButtonVisible="Collapsed" IsSettingsVisible="False" …

Windows development | WinUI
asked 2026-02-19T20:58:45.13+00:00
Eduardo Gomez 4,316 Reputation points
commented 2026-03-03T09:00:02.1633333+00:00
Michael Le (WICLOUD CORPORATION) 11,160 Reputation points Microsoft External Staff Moderator
3 answers One of the answers was accepted by the question author.

How to develop a GUI application

How to develop a GUI application? I can only develop console applications now.

Windows development | WinUI
asked 2026-01-25T11:39:59.1533333+00:00
Jiaxin Zhang 140 Reputation points
commented 2026-02-23T10:44:00.4266667+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.

winUI3 with mvvm toolkit and get build error

I am using mvvm with mvvm toolkit and get these errors <PropertyGroup> <OutputType>WinExe</OutputType> …

Windows development | WinUI
asked 2026-02-17T20:18:57.58+00:00
Eduardo Gomez 4,316 Reputation points
accepted 2026-02-19T20:41:32.2133333+00:00
Eduardo Gomez 4,316 Reputation points
2 answers One of the answers was accepted by the question author.

x:bind how to refence viewmodel

GridView Grid.Row="1" ItemsSource="{x:Bind ViewModel.Contacts}" SelectionMode="None"> <GridView.ItemTemplate> <DataTemplate…

Windows development | WinUI
asked 2026-02-18T19:16:07.1633333+00:00
Eduardo Gomez 4,316 Reputation points
accepted 2026-02-19T07:49:12.3466667+00:00
Eduardo Gomez 4,316 Reputation points
1 answer One of the answers was accepted by the question author.

What are the Files in a .NET MAUI Template? (Confusion)

Dear Community Members, I am Shreyans Yadav, I’m new to .NET MAUI and I created a new project using the default MAUI template. I see a lot of files and folders like App.xaml, MainPage.xaml, Platforms, Resources, MauiProgram.cs, and more. I’m confused…

Windows development | WinUI
asked 2026-02-13T14:11:32.97+00:00
Shreyans Yadav 40 Reputation points
accepted 2026-02-13T19:53:25.5166667+00:00
Shreyans Yadav 40 Reputation points
3 answers

UWP > WINUI3 migration problem

Hello, I am trying to migrate my UWP based Windows Store app to WINUI3. I had in win store UWP version. Next, I created WINUI3 version. Validated it in my VisualStudio and published it. WINUI3 app was validated and published via Partner Center. Next, I…

Windows development | WinUI
asked 2025-11-24T11:25:46.62+00:00
BitSmithy 2,231 Reputation points
edited an answer 2026-02-12T10:43:14.98+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.

Windows.Graphics.Capture - delay on source window movement

Hi. I'm using Windows.Graphics.Capture to duplicate a list of top level windows in source application. I expanded the example given in https://github.com/microsoft/Windows.UI.Composition-Win32-Samples/tree/master/cpp/ScreenCaptureforHWND to handle…

Windows development | WinUI
asked 2025-11-20T07:27:21.9+00:00
Alex Chashka 20 Reputation points
answered 2026-02-10T13:00:31.54+00:00
Alex Chashka 20 Reputation points