804 questions with Windows App SDK tags

Sort by: Updated
0 answers

Advice on Signing and Certificate Options for a WPF Project

Hi, I have a WPF project based in Dublin, initially intended for approximately 100 users in Ireland, with plans to expand both inside and outside the EU over the long term. The business was established in September 2022. I’d like advice on the best…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,914 questions
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,804 questions
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
804 questions
Azure Trusted Signing
Azure Trusted Signing
Trusted Signing is a Microsoft fully managed, end-to-end signing solution that simplifies the certificate signing process and helps partner developers more easily build and distribute applications.
134 questions
asked 2024-12-21T17:48:00.1666667+00:00
Mustafa Walid 0 Reputation points
edited the question 2024-12-23T01:06:08.9766667+00:00
Roy Li - MSFT 33,496 Reputation points Microsoft Vendor
1 answer

An exception is given when trying to manipulate UI when the packageCatalogUninstalling event is triggered WinUI

Hello! I'm testing an application that uses PackageCatalog.Uninstalling event and i would like to change the UI when this event is triggered but when i try to do it an exception is given. I also tried with a dispatcher but received another error

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
804 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
824 questions
asked 2024-12-03T19:14:54.59+00:00
edited a comment 2024-12-19T12:07:06.4666667+00:00
Anderson Rodrigues Cavalcante 316 Reputation points
1 answer

Dialog box before launching of application in winui3 c++/winrt

I am working in winui3 c++/winrt and I need to show a dialog box just before the launch of my application The dialog box will say OK and Cancel on click of OK we launch the application and on cancel we exit. I tried a few approaches but it is giving…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
804 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,804 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
824 questions
asked 2024-12-18T06:27:05.37+00:00
Vivek Rao 20 Reputation points
commented 2024-12-19T03:39:58.98+00:00
Junjie Zhu - MSFT 19,741 Reputation points Microsoft Vendor
0 answers

USB Controller alert in Kinect for Windows

I cannot get my kinect to register as a sensor in any 3rd party program. 3d build will show image, but will only capture a image still not a video.

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
804 questions
asked 2024-12-17T02:50:29.2766667+00:00
FireMedic541 0 Reputation points
commented 2024-12-17T06:26:50.23+00:00
Jeanine Zhang-MSFT 10,046 Reputation points Microsoft Vendor
1 answer

winui 3 FindAncestor

Hello: In Wpf , The below code in a page/usercontrol will get the property value from MainWindow Datacontext. <TextBlock Text="{Binding DataContext.Arr[2],RelativeSource={RelativeSource Mode=FindAncestor,…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
804 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,146 questions
asked 2023-12-03T15:07:45.8366667+00:00
Simon Ong 21 Reputation points
commented 2024-12-16T16:51:53.13+00:00
Shimmy Weitzhandler 246 Reputation points
1 answer

How to add items to Windows 11 modern EXPLORER context menu using C#?

I'm developing a UWP program and want to associate a custom menu item with a specific file format and show it in the Windows 11 new version File Explorer context menu (first level menu). Is there such an API?And how to do this in winform?

Universal Windows Platform (UWP)
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
804 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,146 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,267 questions
asked 2022-02-19T06:46:27.067+00:00
Jeffreyg1228 1 Reputation point
commented 2024-12-16T03:21:57.3233333+00:00
Les Ferch 46 Reputation points
4 answers

Dynamic Dependency Lifetime Manager

There was a problem with the Microsoft Windows App Runtime Dynamic Dependency Lifetime Manager. Please reinstall the application from its original installation location or contact your administrator.

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
804 questions
asked 2024-11-15T16:23:34.2266667+00:00
Эмиль Белалов 45 Reputation points
answered 2024-12-08T11:46:31.3333333+00:00
Alex Marino 0 Reputation points
1 answer

WinUI 3 - How to Retrieve ActivatedEventArgs Multiple Times?

The documentation states that AppInstance.GetActivatedEventArgs this method will only return the arguments the first time it is called in an app. If a packed single-instanced WinUI 3 app is activated from a protocol multiple times, what approach can…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
804 questions
asked 2024-11-05T03:15:54.47+00:00
Lee Feng 156 Reputation points
edited the question 2024-12-03T02:30:10.38+00:00
Jack J Jun 24,616 Reputation points Microsoft Vendor
0 answers

MSIX WebView2 ExternalDependency failing to install/update.

We have an MSIX based application that we ship that depends on the Evergreen WebView2 installs, relying instead on the ExternalDependency support to ensure an evergreen install exists. Some of our users have reported that WebView2 fails to install…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
804 questions
asked 2024-11-25T19:45:25.7566667+00:00
Terry Meacham 0 Reputation points
commented 2024-12-02T17:33:15.1033333+00:00
TIMOTHY MANGAN 5 Reputation points
0 answers

System.NullReferenceException: 'Object reference not set to an instance of an object.' when navigating to page in WinUI

I am working with a WinUI project which is built based on the MVVM Toolkit template. When I use NavigationService.NavigateTo(typeof(EmployeeViewModel).FullName!); to navigate to EmployeePage, the program crashes with the bug that…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
804 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,146 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
824 questions
asked 2024-11-23T09:39:11.4333333+00:00
LÊ CAO TUẤN VŨ 0 Reputation points
commented 2024-11-28T01:32:38.5666667+00:00
Roy Li - MSFT 33,496 Reputation points Microsoft Vendor
0 answers

Error adding settings page in WinUI 3 MVVM app using Template Studio

I'm trying to add a settings page to my existing WinUI 3 app using Template Studio (With Navigation Bar) with the MVVM pattern. However, I'm encountering the following error: System.Exception: Error executing…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
804 questions
asked 2024-11-22T12:27:04.8366667+00:00
TUAN THANH VO 0 Reputation points
edited the question 2024-11-28T01:21:14.57+00:00
Jack J Jun 24,616 Reputation points Microsoft Vendor
0 answers

Seeking Feedback: Open-Source Solution for Stable Audio Device Identification on Windows

Hello everyone, I'm working on an open-source project to tackle a common issue with Windows audio devices, and I'd love to get your feedback. The Problem: As many of you might have experienced, Windows assigns device identifiers and friendly names to…

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,647 questions
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
804 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,700 questions
asked 2024-11-26T23:22:56.0566667+00:00
Brian Saville 21 Reputation points
commented 2024-11-27T01:45:57.3433333+00:00
Jeanine Zhang-MSFT 10,046 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Drag and drop in Win UI

Hi, I'm doing drag and drop in Win UI application, but I have a problem. In drag and drop there is only Data.SetStorageItems method. It accepts an IStorageItem with which I have no access to hidden files and shortcuts (only using file picker, but in my…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,902 questions
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
804 questions
asked 2024-11-05T15:20:14.6+00:00
123244 80 Reputation points
commented 2024-11-22T10:28:11.0266667+00:00
123244 80 Reputation points
1 answer One of the answers was accepted by the question author.

Does WinUI3 App support Miracast feature now?

Hi Microsoft team, I developed a UWP app to implement the screen mirror function with the Windows.Media.Miracast APIs. Now I want to migrate UWP to the WinUI 3 App(Windows App SDK), so I research how to migrate Miracast and find that WinUI 3 App didn't…

Universal Windows Platform (UWP)
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
804 questions
asked 2024-11-11T09:55:26.51+00:00
Zev Yang 20 Reputation points
accepted 2024-11-13T08:27:17.5166667+00:00
Zev Yang 20 Reputation points
1 answer

WinUI 3 application crashes at App.g.i.cs

I am trying to create a WinUI 3 Application in C# and my application keeps crashing at App.g.i.cs #if DEBUG && !DISABLE_XAML_GENERATED_BREAK_ON_UNHANDLED_EXCEPTION UnhandledException += (sender, e) => { …

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
804 questions
asked 2024-09-23T04:58:18.58+00:00
Peggun 20 Reputation points
edited a comment 2024-11-11T09:50:20.6166667+00:00
2 answers One of the answers was accepted by the question author.

CoreWebView2.NavigateToString(String) method fails to load an HTML page

I am using an instance of WebView2 class to display some HTML content in a UI panel for a VS 2022 extension. I can retrieve the HTML content that I want to display in the WebView2 control as a string, and then I am trying to use…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,303 questions
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
804 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,700 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,146 questions
asked 2024-10-31T17:08:20.23+00:00
AdiGeo 20 Reputation points
edited the question 2024-11-04T01:02:02.5933333+00:00
Roy Li - MSFT 33,496 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

How to set the app window height and width on WinUI3?

I wanted to set the width of the app to cover the available width of the display, and wanted to increase the apps height when a function was invoked.

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
804 questions
asked 2023-08-19T09:35:23.9333333+00:00
Ijaz M 206 Reputation points
answered 2024-10-31T03:21:51.54+00:00
Albert Einstein 0 Reputation points
1 answer

WinUI 3 NavigationService not navigating to ShellPage after successful login

I'm developing a WinUI 3 app using Template Studio with a Navigation Bar. The INavigationService has a NavigateTo method that I can use to navigate between custom pages like Login and SignUp. However, I'm having an issue where I can't navigate to…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,006 questions
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
804 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,146 questions
asked 2024-10-27T05:36:03.9466667+00:00
TUAN THANH VO 0 Reputation points
answered 2024-10-29T03:50:20.6933333+00:00
TUAN THANH VO 0 Reputation points
2 answers One of the answers was accepted by the question author.

How to leave a certain distance between the right page content of the NavigationView and the Titlebar

This is my winui3 application's NavigationView And this is the winui3 application created by Temlate Studio's NavigationView

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
804 questions
asked 2024-10-26T01:09:03.17+00:00
studio XFE 90 Reputation points
accepted 2024-10-28T05:31:05.6466667+00:00
studio XFE 90 Reputation points
1 answer One of the answers was accepted by the question author.

Use otf/ tff for font in WinUI

Is it possible to use these files for fonts in C++. I've tried the c# examples but it doesn't seem to work?! https://stackoverflow.com/questions/70371593/how-do-i-change-the-default-font-of-my-winui-application

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
804 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,804 questions
asked 2022-06-17T19:29:57.743+00:00
youki 1,021 Reputation points
commented 2024-10-27T07:55:01.6766667+00:00
Everett Lee 21 Reputation points