978 questions with Windows development | Windows App SDK tags
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
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
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
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
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
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
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
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
text can not certer in vertical in winui?
<Setter Property="VerticalContentAlignment" Value="Center"/> but is it not center
Windows development | Windows App SDK
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
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
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
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
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
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
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
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
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
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
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…