47 questions with Windows development | WinUI tags

Sort by: Updated
2 answers

How to package WinUi3 app in Visual Studio 2022 as .EXE?

Hi I want to package my WINUI3 app into exe (which i can run on other devices). so are their any way to do it? In WinUI3 we know that the app installs only on present user pc session. Is their any method to install it irrespective of users i.e. any…

Windows development | WinUI
asked 2025-12-15T07:58:06.1933333+00:00
Vishal2 Bansal 285 Reputation points
edited a comment 2025-12-15T10:22:35.2866667+00:00
Vishal2 Bansal 285 Reputation points
2 answers One of the answers was accepted by the question author.

When to Use Dispatcher and When to Unsubscribe Events?

Hi community! I'm a new developer and I have serveral questions about using the dispatcher and unsubscribing the events. When should I use dispatcher? When I browsing the sample codes I never found them using dispatcher, but sometimes my app will crash…

Windows development | WinUI
asked 2025-12-12T07:16:13.5+00:00
水 知 230 Reputation points
commented 2025-12-12T08:48:49.7233333+00:00
Harry Vo (WICLOUD CORPORATION) 3,820 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

My WInUI App Lost Capacity After Packaging

Hi community, I'm developing an WinUI3 APP using the template WinUI Blank App (Packaged with Windows Application Packaging Project) and I found it couldn't work after packaging. I find that there's some warnings in my Package.appxmanifest. The content…

Windows development | WinUI
asked 2025-12-09T09:10:44.91+00:00
水 知 230 Reputation points
accepted 2025-12-12T06:16:12.4833333+00:00
水 知 230 Reputation points
2 answers One of the answers was accepted by the question author.

I want to backup my whole win11 to a U disk

我想将现有的系统备份到U盘里面,请问如何操作。以前好像windows有个内置的工具,备份到移动存储的。

Windows development | WinUI
asked 2025-12-02T23:55:51.29+00:00
Connie Gao Personal 80 Reputation points
accepted 2025-12-12T02:00:04.1966667+00:00
Connie Gao Personal 80 Reputation points
4 answers

Unexpected RestrictRun Enforcement in Multi-App Kiosk Mode After Windows 11 September 2025 Updates

ENVIRONMENT: Windows 11 versions affected: 24H2 with September 2025 cumulative updates 25H2 (enablement package over 24H2) Intune Managed or local Kiosk / Assigned Access configuration Deployment method: Assigned Access multi-app kiosk profile via…

Windows development | WinUI
asked 2025-10-06T11:22:40.0833333+00:00
ServerWeirdo 15 Reputation points
commented 2025-12-11T12:47:37.3+00:00
Darren Bradley 5 Reputation points
2 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,226 Reputation points
commented 2025-12-11T04:31:15.0433333+00:00
Danny Nguyen (WICLOUD CORPORATION) 5,410 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

IntelliSense Not Showing Resources from Custom Control Library in WinUI

I have a custom control library called DevWinUI. I noticed that when I install it as a NuGet package and reference its Generic.xaml file in App.xaml, the resources do not appear in IntelliSense. The app works fine at runtime, but IntelliSense does not…

Windows development | WinUI
asked 2025-12-09T14:10:37.2566667+00:00
Mahdi Hosseini 250 Reputation points
accepted 2025-12-10T13:22:28.4533333+00:00
Mahdi Hosseini 250 Reputation points
3 answers

Cannot upload app to Microsoft App Store

I keep getting the error Package URL should begin with https:// and should point to a versioned, downloadable package. when I try to upload my msixbundle install file The url is…

Windows development | WinUI
asked 2025-11-19T17:33:29.21+00:00
Mark Johnson 0 Reputation points
commented 2025-12-10T10:12:46.31+00:00
Danny Nguyen (WICLOUD CORPORATION) 5,410 Reputation points Microsoft External Staff Moderator
2 answers

AppExecutionAlias directory missing

Hello I noticed errors in Event Logs of my msix packaged apps, I think because of space in directory and file names, didn't find a tip online, AI didn't help either, here's the log and part of my AppxManifest.xml, any help is…

Windows development | WinUI
asked 2025-12-08T17:29:30.7766667+00:00
Halifax Crosby 140 Reputation points
edited a comment 2025-12-09T15:48:04.2333333+00:00
Halifax Crosby 140 Reputation points
2 answers

My app was removed due to compliance issues. Now that I have fixed the problem how do I re-enable my app

I had a problem with setting some website information for the new EU requirements and my app was removed. Now that I have made my business compliant there does not seem to be a place to re-activate my app. Will this happen automatically or do I need to…

Windows development | WinUI
asked 2025-12-03T19:31:55.0833333+00:00
Edward Moemeka 0 Reputation points MVP
edited a comment 2025-12-09T06:58:07.17+00:00
Raymond Huynh (WICLOUD CORPORATION) 3,955 Reputation points Microsoft External Staff Moderator
2 answers

[UWP] Process.MainWindowTitle is empty in 25H2

After update to 25H2 I noticed that Process.MainWindowTitle is empty while checking UWP UI process. In 24H2 it is filled with correct value but in 25H2 it is empty.

Windows development | WinUI
asked 2025-11-11T10:26:45.2966667+00:00
60856927 111 Reputation points
edited a comment 2025-12-09T06:40:58.6433333+00:00
Danny Nguyen (WICLOUD CORPORATION) 5,410 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

Is CurrentAppSimulator.RequestProductPurchaseAsync for WinUI 3 apps

StorageFile file = await Package.Current.InstalledLocation.GetFileAsync("Data\\WindowsStoreProxy.xml"); await CurrentAppSimulator.ReloadSimulatorAsync(file); ListingInformation ListingInfo = await…

Windows development | WinUI
asked 2025-12-07T21:52:39.93+00:00
Hong 1,436 Reputation points
accepted 2025-12-08T13:19:12.9666667+00:00
Hong 1,436 Reputation points
1 answer One of the answers was accepted by the question author.

Why can't the target framework of a WinUI app be changed?

When I try to change the target framework of a WinUI app from .NET 8.0 to anything else, it reverts to .NET 8.0 instantly. For example, I installed .NET 10.0, restarted Visual Studio, and tried to change the target framework to .NET 10.0, but VS changed…

Windows development | WinUI
asked 2025-12-06T16:38:32.9233333+00:00
Hong 1,436 Reputation points
commented 2025-12-08T13:17:44.3766667+00:00
Hong 1,436 Reputation points
1 answer

create a Microsoft Store-style carousel

Hello, I want to create a Microsoft Store-style carousel. The main issue is how to change the images. I’ve managed to add a slide effect to image transitions to some extent, but there are two major problems. First, it’s not as smooth and appealing as the…

Windows development | WinUI
asked 2025-11-20T09:15:45.9466667+00:00
Mahdi Hosseini 250 Reputation points
recommended 2025-12-05T10:36:11.11+00:00
Lynn Dang (WICLOUD CORPORATION) 0 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

How do i time interrupts in a C# .net core app (on windows) with a precission of max 1 ms (better if possible)

i want to write a .net console app that needs to log events on 4 inputs using an interrupt, then push an a record of the event "low to high" or "high to low", input nr and a timestamp (1ms or better resolution) into a fifo queue so…

Windows development | WinUI
asked 2025-10-01T13:40:30.2+00:00
Theo Ekelmans 20 Reputation points
accepted 2025-12-05T07:34:08.5333333+00:00
Theo Ekelmans 20 Reputation points
1 answer One of the answers was accepted by the question author.

how to create a power apps?

我想要开发一款power apps。 网上大部分教程使用的数据源和我的不一样。我想要用windows odbc 里的dsn 做power apps的数据源。请问有人有具体方案么?非常感谢。

Windows development | WinUI
asked 2025-12-05T02:59:27.4033333+00:00
Connie Gao Personal 80 Reputation points
accepted 2025-12-05T05:52:08.89+00:00
Connie Gao Personal 80 Reputation points
2 answers

How to open the serialDevice port in binary mode on UWP ?

C# I used: using Windows.Devices.SerialCommunication; byte[] raw = new byte[] { 0x3f, 0x5f, 0x20, 0x21, 0x0A }; IBuffer buf = raw.AsBuffer(); await serialDev.OutputStream.WriteAsync(buf); I'm looking at the USB traffic with Wireshark and I find {…

Windows development | WinUI
asked 2025-11-26T07:51:20.91+00:00
Rolandas 0 Reputation points
commented 2025-12-04T09:09:54.3033333+00:00
Michael Le (WICLOUD CORPORATION) 6,420 Reputation points Microsoft External Staff Moderator
1 answer

XAML code displays error 'System.Object was not found'

I have installed VS 2026 und created a new WPF Test Application. The XAML code displays initially an error 'System.Object' was not found. This goes away after a short while but it still worries me. Can you explain what is going on?

Windows development | WinUI
asked 2025-11-13T18:18:56.5033333+00:00
Karl 0 Reputation points
commented 2025-12-04T08:47:40.17+00:00
Michael Le (WICLOUD CORPORATION) 6,420 Reputation points Microsoft External Staff Moderator
3 answers

Windows App Certification Kit - Test Results :[HRESULT 0x8007007F] An error occurred during TAEF startup. (Failed to load the custom test mode DLL at "......\TAEF\TE.TestMode.Container.dll

Hi MSFT, I created a UWP package and ran the App Certification. Last month there were no issues, but recently an error started to appear. I’m not sure if this is caused by a Windows update or another change. I reinstalled SDK 22621, but the error still…

Windows development | WinUI
asked 2025-10-17T15:40:09.27+00:00
Divyns Lin 41 Reputation points
commented 2025-12-04T02:35:33.2333333+00:00
Danny Nguyen (WICLOUD CORPORATION) 5,410 Reputation points Microsoft External Staff Moderator
1 answer

regarding about nodes

i need to know what are the things in a c# code considering to be a node?

Windows development | WinUI
asked 2025-11-25T10:24:12.69+00:00
Gopi.R 0 Reputation points
commented 2025-12-03T10:56:36.02+00:00
Raymond Huynh (WICLOUD CORPORATION) 3,955 Reputation points Microsoft External Staff Moderator