978 questions with Windows development | Windows App SDK tags

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

How to install "Microsoft .NET 9.x.x Windows Server Hosting"?

How can I install "Microsoft .NET 9.x.x Windows Server Hosting"?

Windows development | Windows App SDK
asked 2026-01-20T08:19:17.5166667+00:00
川野 連也 0 Reputation points
commented 2026-01-20T10:14:44.7233333+00:00
Jack Dang (WICLOUD CORPORATION) 8,130 Reputation points Microsoft External Staff Moderator
2 answers

How to fix the issue of failing the Windows App Certification Kit scan?

操作系统版本检查测试 失败 正确的操作系统版本检查 发现错误: 正确操作系统版本检查测试检测到以下错误: System.NullReferenceException: 未将对象引用设置到对象的实例。 在 Microsoft.Windows.SoftwareLogo.Tests.InstallOSVersionCheck.InstallOSVersionCheck.ExecuteTest() 未修复时会产生影响: 这不必要地阻止客户安装其应用。 如何修复:…

Windows development | Windows App SDK
asked 2025-12-30T11:56:09.1733333+00:00
sambo jos 0 Reputation points
commented 2026-01-19T09:38:03.8966667+00:00
Michael Le (WICLOUD CORPORATION) 10,475 Reputation points Microsoft External Staff Moderator
2 answers

Why does the Widget Sample create a duplicate empty instance after a system restart?

Hello everyone, I am currently learning Windows 11 Widget development using the C# Windows App SDK. I have built, packaged, and deployed the official Weather Widget sample (from the WindowsAppSDK-Samples repository). The Issue: I am facing a…

Windows development | Windows App SDK
asked 2026-01-14T10:27:20.15+00:00
Ser Fed 0 Reputation points
commented 2026-01-19T09:03:47.63+00:00
Michael Le (WICLOUD CORPORATION) 10,475 Reputation points Microsoft External Staff Moderator
2 answers

Programmatically open a word document in C#

Good day, I am trying to programmatically open a word document in C#. However, I got this message when running the app: System.IO.FileNotFoundException  HResult=0x80070002  Message=Could not load file or assembly 'office, Version=12.0.0.0,…

Windows development | Windows App SDK
asked 2026-01-15T10:32:30.1666667+00:00
Pieter Claassens 40 Reputation points
recommended 2026-01-19T04:07:08.6333333+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.

PerMonitorV2 DPI Warning Won’t Clear in WACK

Hi everyone — I’m hoping someone can help me break out of a loop I’ve been stuck in for days. I’m preparing a WinForms .NET Framework 4.7.2 app for the Microsoft Store, and the Windows App Certification Kit keeps giving me the same DPI Awareness…

Windows development | Windows App SDK
asked 2026-01-05T04:27:59.38+00:00
James Pruett 85 Reputation points
accepted 2026-01-15T03:56:22.5733333+00:00
James Pruett 85 Reputation points
1 answer

Java Developer in need of help, winui 3 app runs perfectly using F5, i fail to deploy as a single .exe file

I'm a Java Developer, I know nothing about C# or .NET or WinUI 3. with the help of gpt I managed to create winui 3 application, it is not much at all: 2 labels, 1 input text, 2 buttons and another textbox that shows logs. here is a picture of running…

Windows development | Windows App SDK
asked 2025-12-26T18:41:23.9766667+00:00
Mehdi HAFID 0 Reputation points
commented 2026-01-12T04:35:14.7966667+00:00
Harry Vo (WICLOUD CORPORATION) 4,665 Reputation points Microsoft External Staff Moderator
1 answer

Using Visual Studio, Text Box vs RichTextBox, same string, different results

Using SHA512 to get the hash of two byte arrays Actual Results are: ­­Original Data Hash = 321F74804533BAC063E5A13E6FCE9309DB1C6C24BC66B1A0AEFFACE43D7F66EF986F90838C72DF62DF297973C6C753B291F8B0BD65E6EBDC11776D045A05B164 Decrypted Data Hash =…

Windows development | Windows App SDK
asked 2026-01-08T17:11:19.9933333+00:00
Devon Nullman 60 Reputation points
answered 2026-01-09T07:23:33.1466667+00:00
Michael Le (WICLOUD CORPORATION) 10,475 Reputation points Microsoft External Staff Moderator
0 answers

WinUI 3 App Not Showing in Kiosk Mode (Assigned Access) App List on Windows 11 Pro

Hello, I'm developing a Kiosk application using WinUI 3 on Windows 11, and I'm trying to test it locally using Assigned Access (Kiosk mode). I’ve packaged the app as an MSIX using Visual Studio and successfully installed it on my machine. The app runs…

Windows development | Windows App SDK
asked 2025-05-09T11:56:17.5266667+00:00
Hardik Joshi 15 Reputation points
commented 2026-01-02T03:43:13.3133333+00:00
Harry Vo (WICLOUD CORPORATION) 4,665 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

text can not certer in vertical in winui?

<Setter Property="VerticalContentAlignment" Value="Center"/> but is it not center

Windows development | Windows App SDK
asked 2023-06-17T10:00:37.9433333+00:00
mc 6,596 Reputation points
commented 2025-12-31T14:27:08.5466667+00:00
Frederic STECZYCKI 0 Reputation points
1 answer One of the answers was accepted by the question author.

Looking for More Efficient Code

Here is the code I've written to implement a count down timer. A TextBox displays the time remaining in hours, minutes and seconds. The variable StartPeriod defines the starting time of the timer. First I set up the timer: Private Sub StartClock(sender…

Windows development | Windows App SDK
asked 2025-12-29T03:19:00.4266667+00:00
RogerSchlueter-7899 1,591 Reputation points
commented 2025-12-30T08:14:11.8033333+00:00
RogerSchlueter-7899 1,591 Reputation points
2 answers One of the answers was accepted by the question author.

How to check for Microsoft Store updates without triggering an automatic download?

I am developing a Packaged Windows Service application and I need to check for available updates from the Microsoft Store. However, I am encountering an issue where the download starts automatically as soon as the update is detected. I have tried two…

Windows development | Windows App SDK
asked 2025-12-23T11:12:53.6766667+00:00
Diogo Costa Maranhao Rodrigues 40 Reputation points
accepted 2025-12-29T12:30:25.47+00:00
Diogo Costa Maranhao Rodrigues 40 Reputation points
1 answer

Looking for More Efficient Code

The following code implements a countdown timer with the time remaining displayed in a TextBox: Private Sub StartClock(sender As Object, e As RoutedEventArgs) Handles btnStart.Click tmr = New Timer(1000) With {.AutoReset = True, .Enabled = True} …

Windows development | Windows App SDK
asked 2025-12-28T16:19:19.49+00:00
RogerSchlueter-7899 1,591 Reputation points
answered 2025-12-28T18:23:23.84+00:00
Marcin Policht 73,320 Reputation points MVP Volunteer Moderator
0 answers

How to Update C# WinForms Application Published in Microsoft Store

I have a C# WinForms application published in the Microsoft Store but am not able to facilitate updates. To my understanding, updates have to be facilitated in the application itself. The examples in the documentation are relevant to UWP and it has…

Windows development | Windows App SDK
asked 2025-11-12T23:44:56.1833333+00:00
Roger Rousseau 0 Reputation points
commented 2025-12-24T06:43:18.5333333+00:00
Harry Vo (WICLOUD CORPORATION) 4,665 Reputation points Microsoft External Staff Moderator
1 answer One of the answers was accepted by the question author.

app store certification failed

app store certification for my app always getting failed, they mention as freeze or crash but i cant see anything like that on my 10 years old laptop, it opens quickly for me. what to do now how to fix this?! SEE THEM REPORT BELOW; The product crashes…

Windows development | Windows App SDK
asked 2025-12-22T14:34:20.3433333+00:00
Bala Bala 20 Reputation points
accepted 2025-12-23T08:17:47.1933333+00:00
Bala Bala 20 Reputation points
1 answer

How do I make my app exit when the user updates it via the Microsoft store?

I have an app in the Microsoft Store, when an update is available a user can click Update in the store. I added the following code to detect that and allow the store to apply the update: var catalog =…

Windows development | Windows App SDK
asked 2025-11-10T00:54:57.24+00:00
sysadmin 60 Reputation points
commented 2025-12-19T09:50:45+00:00
Harry Vo (WICLOUD CORPORATION) 4,665 Reputation points Microsoft External Staff Moderator
3 answers

How to access file conflict dialogue box?

I would like to make show several details in a file conflict when copying and pasting files in Windows Explorer. I'm unable to locate any documentation using any API or SDKs. The best I found was to use my own explorer or an open source project then…

Windows development | Windows App SDK
asked 2025-12-18T04:40:21.6433333+00:00
Lonnie S. Jones 0 Reputation points
answered 2025-12-19T06:16:06.56+00:00
Harry Vo (WICLOUD CORPORATION) 4,665 Reputation points Microsoft External Staff Moderator
2 answers

How to fix AccEvent UIAutomation stopped

What to do this error it always pop up on my screen AccEvent-UIAutomation stopped Moved from: Community Center | Discuss the Q&A site | Site bug or problem

Windows development | Windows App SDK
asked 2025-11-26T16:45:18.9433333+00:00
claraide ouano 0 Reputation points
commented 2025-12-18T02:53:26.02+00:00
Harry Vo (WICLOUD CORPORATION) 4,665 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

How to properly set a settings.settings file properties for a windows setup project in visual studio

I have a C# windows forms application that i am trying to make a setup project for. The application gives no errors and i have successfully deployed it with a setup project (msi file) however, i have a settings.settings file in the project to allow for…

Windows development | Windows App SDK
asked 2025-12-15T14:29:59.4166667+00:00
accepted 2025-12-17T23:54:59.2066667+00:00
2 answers One of the answers was accepted by the question author.

I cannot find the Xbox PC Toolbox in the Microsoft Store. Can someone provide a link?

There's suppose to be an Xbox PC Toolbox in the MS Store that'll allow me to connect to the Xbox Ally remotely but I cannot find it. Documentation says you'll find it in the Retail store but I cannot find it. I've also searched for it in my dev sandbox's…

Windows development | Windows App SDK
asked 2025-12-06T00:53:05.1333333+00:00
Rob Hamiter 20 Reputation points
edited an answer 2025-12-12T22:46:29.4466667+00:00
Rob Hamiter 20 Reputation points
2 answers

NvTensorRTRTXExecutionProvider cannot be downloaded automatically when following these steps on the Get started page

I'm following these steps https://learn.microsoft.com/en-us/windows/ai/new-windows-ml/get-started?tabs=python#step-2-download-and-register-eps. After I ran this Python script, the NvTensorRTRTXExecutionProvider was not downloaded automatically by…

Windows development | Windows App SDK
asked 2025-11-21T06:08:36.3533333+00:00
Aimee Hou 0 Reputation points
commented 2025-12-12T08:54:47.1133333+00:00
Danny Nguyen (WICLOUD CORPORATION) 6,045 Reputation points Microsoft External Staff Moderator