798 questions with Windows App SDK tags

Sort by: Updated
3 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.
798 questions
asked 2024-11-15T16:23:34.2266667+00:00
Эмиль Белалов 25 Reputation points
commented 2024-11-21T10:40:33.61+00:00
n ramu 0 Reputation points
0 answers

WNS(Raw Notification) fail after PC restart and cannot accept message push notifications

Hello, I have found that the message push service(WNS) cannot be used after restarting the computer. After restarting, the PushNotifications LongRunningTask.exe process was not running, so it did not receive a message and subsequent pushes were dropped.…

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.
798 questions
asked 2024-11-16T05:57:06.44+00:00
coco 0 Reputation points
commented 2024-11-21T01:50:55.4666667+00:00
Roy Li - MSFT 33,461 Reputation points Microsoft Vendor
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…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,945 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.
798 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,053 questions
asked 2024-11-05T03:15:54.47+00:00
Lee Feng 156 Reputation points
commented 2024-11-21T01:50:32.14+00:00
Roy Li - MSFT 33,461 Reputation points Microsoft Vendor
0 answers

MediaFoundation: TimeStamp of first frame is not getting correctly set to 0. Instead, it is getting set as 0.0333 (frame duration)

I'm trying to read two frames, each individually stored in binary files named frame1.bin and frame2.bin, and create an MP4 video file called sample.mp4. Here's what I'm doing: I read a frame, associate it with its respective timestamp, and write it to…

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.
798 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,774 questions
asked 2024-11-11T10:46:09.8533333+00:00
Eswaramoorthy K 0 Reputation points
commented 2024-11-15T06:18:59.53+00:00
Jeanine Zhang-MSFT 9,866 Reputation points Microsoft Vendor
1 answer

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,773 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.
798 questions
asked 2024-11-05T15:20:14.6+00:00
123244 60 Reputation points
edited the question 2024-11-15T01:30:45.84+00:00
Jack J Jun 24,516 Reputation points Microsoft Vendor
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.
798 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.
798 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,225 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.
798 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,666 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,053 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,461 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.
798 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.
3,945 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.
798 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,053 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.
798 questions
asked 2024-10-26T01:09:03.17+00:00
studio XFE 85 Reputation points
accepted 2024-10-28T05:31:05.6466667+00:00
studio XFE 85 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.
798 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,774 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
0 answers

APPX0101 error when packaging a WinUI MAUI app even though Azure Key Vault signing is configured

I have a WinUI app and I am trying to configure package signing with a certificate in our Azure Key Vault. I right-clicked the project, selected "Package and Publish" and picked a certificate from our Azure Key Vault. I know signing works in…

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,320 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.
798 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,650 questions
asked 2024-10-23T08:20:35.2233333+00:00
Jean Milne 0 Reputation points
edited the question 2024-10-24T02:14:22.7833333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 76,786 Reputation points Microsoft Vendor
0 answers

Issues with singing up with Microsoft Appsource

I have this issue. When I try to sign up for Microsoft Appsource, it requires me to have a domain worksite email address, and not a personal email address. I don't have a worksite email address, but I have a personal email address instead. I want to…

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.
798 questions
asked 2024-10-21T05:48:20.72+00:00
John 466 Reputation points
commented 2024-10-21T06:42:11.4533333+00:00
Jeanine Zhang-MSFT 9,866 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to build an application correctly in the WinUI3 project template?

I am working in the Blank App, Packaged (WinUI 3 in Desktop). When compiling and launching a new project in Visual Studio using the keyboard shortcut "Ctrl + F5", the application opens without problems. However, when building the project and…

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.
798 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.
816 questions
asked 2024-10-15T14:33:58.7666667+00:00
RΞY 20 Reputation points
edited an answer 2024-10-18T05:12:48.83+00:00
Roy Li - MSFT 33,461 Reputation points Microsoft Vendor
0 answers

How to use Region (Win GDI) APIs on top of Xaml Island window

Hello, I want to draw different shapes in WinRT/C++ application using Region APIs. It is Windows Desktop Application with Xaml Island. I'm creating child window of the Xaml Island window, and then trying to use Region APIs to draw rectangle on this…

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.
798 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,666 questions
asked 2024-10-15T09:20:10.1033333+00:00
Shyam Butani 285 Reputation points
commented 2024-10-17T05:29:00.64+00:00
Shyam Butani 285 Reputation points
2 answers

How to create Pie-chart and Bar-chart in WinRT/C++ application

Hello, I'm working on Windows Desktop Application with Xaml Island. I want to create and show charts (Pie chart and Bar chart) in my application. I'm not able to find any strait forward way to do this. Can you give some suggestion on…

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.
798 questions
asked 2024-10-08T10:59:06.88+00:00
Shyam Butani 285 Reputation points
commented 2024-10-17T05:28:18.8466667+00:00
Shyam Butani 285 Reputation points
0 answers

How do I receive the download progress of a Microsoft Store package? | WinUI/UWP

Hi. I'm installing a package from the Microsoft Store from my WinUI application, but I'd like to see the download progress. I have the following code on Constructor: PackageCatalog packageCatalog => PackageCatalog.OpenForCurrentUser(); And when I…

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.
798 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,053 questions
asked 2024-10-03T14:36:32.7566667+00:00
Anderson Rodrigues Cavalcante 316 Reputation points
commented 2024-10-16T01:02:14.3033333+00:00
Roy Li - MSFT 33,461 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Can we use both WinUI3 controls and Win32 controls in a WinUI3 application?

Hi, I'm using WinUI3 application, As we can extract HWND from WinUI3 window, and we can attach Window Proc with SetWindowSubclass and manage WM_* messages, I was wondering if we can use Win32 controls and WinUI3 controls at the same time. I was…

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.
798 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,666 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,774 questions
asked 2022-12-05T06:13:30.36+00:00
Harshithraj1871 1,536 Reputation points
edited a comment 2024-10-15T08:06:23.9266667+00:00
Shyam Butani 285 Reputation points
2 answers One of the answers was accepted by the question author.

Windows SDK versions are not clear for me

Hello! On the https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/ page the latest SDK version is 10.0.26100, however Wikipedia tells that the stable release is 10.0.22621.0 (which is on the SDK archive page). Maybe the wiki page is not…

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.
798 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,666 questions
asked 2024-10-12T18:19:15.7766667+00:00
Zsolt Kántor 80 Reputation points
commented 2024-10-13T13:31:58.6566667+00:00
Zsolt Kántor 80 Reputation points