743 questions with Windows App SDK tags

Sort by: Updated
0 answers

Windows App: ProximityDevice NFC events not triggered / NFC doesn't work at all

was first posted as issue here: https://github.com/microsoft/microsoft-ui-xaml/issues/9358 Describe the bug We have an app that we migrated from UWP to WinUI 3 a while ago. Unfortunately, we discovered that with the WinUI 3 app the ProximityDevice NFC…

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.
743 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.
10,555 questions
asked 2024-02-29T18:39:22.2433333+00:00
Nico K 0 Reputation points
commented 2024-03-01T08:59:19.73+00:00
Jeanine Zhang-MSFT 9,431 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Can we use UWP APIs for WinUI3 desktop Applications?

Hi, I am building a WinUI3 desktop application where I am looking for notifications. I have tried out the App Notifications which are part of Windows App SDK but I am currently looking into Badge Notifications. So, I found this Badge Notification…

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.
743 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,607 questions
asked 2024-02-16T09:34:58.17+00:00
Rohan Pande 375 Reputation points
edited the question 2024-03-01T06:07:38.5+00:00
Roy Li - MSFT 32,721 Reputation points Microsoft Vendor
0 answers

Need Help with Generating PDB File in GitHub Actions for WinUI Project

Hello, I have a solution that includes a WinUI project and a few other projects. I’m using MSBuild in GitHub Actions to generate an MSIXUPLOAD file. However, I’m also in need of a PDB file. Here’s the MSBuild command I’m currently using: # Create the…

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.
743 questions
asked 2024-02-29T07:40:05.3433333+00:00
Ashok Thulasidharan 0 Reputation points
edited the question 2024-02-29T08:45:57.1466667+00:00
Jiale Xue - MSFT 41,976 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

WinUI - MessageDialog in App.xaml.cs does not work

Before the MainWindow is created and called, the programme should establish a connection to the database and read data. In case of an error, a message should be displayed and the programme closed without the main window appearing. I have tried various…

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,703 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.
743 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.
780 questions
asked 2022-03-04T08:03:30.063+00:00
Andreas Mazatis 131 Reputation points
edited a comment 2024-02-28T21:10:12.1066667+00:00
Enrique Ballarin 0 Reputation points
1 answer

Regarding the android minsdk version in .net maui

Severity Code Description Project File Line Suppression State Error AMM0000 uses-sdk:minSdkVersion 19 cannot be smaller than version 21 declared in library C:\Mtechwebx folder\M-PriceCheker\obj\Debug\net7.0-android\lp\132\jl\AndroidManifest.xml as the…

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.
743 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,115 questions
asked 2024-02-26T11:16:21.29+00:00
Faizan Khan 0 Reputation points
answered 2024-02-27T03:02:16.4433333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 38,066 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to make my MAUI app use the latetest Microsoft.WindowsAppSDK

I have my MAUI app running on the latest version of MAUI, but see in the transitive dependencies that the used Microsoft.WindowsAppSDK is still version 1.3.x. While there is a stable version of 1.4.x which contains fixes for my WinUI app which I would…

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.
743 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,115 questions
asked 2024-02-20T06:50:35.1366667+00:00
C. Veeningen (c) 20 Reputation points
accepted 2024-02-26T07:17:10.8433333+00:00
C. Veeningen (c) 20 Reputation points
1 answer

Cannot open include file <Project Path>packages\<...>\Microsoft.Foundation.h

When adding a new IDL file (ProjectItem.idl along with ProjectItem.h and .cpp) I get the following error: 1><path>ProjectItem.g.h(52,10): error C1083: Cannot open include file:…

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.
743 questions
asked 2024-02-14T10:44:59.9666667+00:00
Cosmin Mihai 35 Reputation points
edited a comment 2024-02-25T18:45:30.75+00:00
Cosmin Mihai 35 Reputation points
0 answers

[duplicated]Why does my computer keep asking me to: get the Latest downloads for the Windows App SDK a couple of times a day?

I asked this question: Why does my computer keep asking me to: get the Latest downloads for the Windows App SDK a couple of times a day? But the answer DID NOT EXPLAIN WHY DO I HAVE TO DO THIS A FEW TIMES A DAY? Please help me...or is this a stupid…

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.
743 questions
asked 2024-02-21T23:18:38.1933333+00:00
Earl Johnson 0 Reputation points
edited the question 2024-02-22T01:25:53.7166667+00:00
Roy Li - MSFT 32,721 Reputation points Microsoft Vendor
1 answer

Can I embed a windows app installer in my app for automatic updates if I intend to sell the app both on the store and my own website?

I am developing a desktop application for windows and I want to sell it on the windows store but also on my own website. I want automatic updates and I see that I can include an embedded app installer in my project to accomplish that. I'm not sure if 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.
743 questions
asked 2024-02-07T22:20:09.3933333+00:00
Brian Duffy 30 Reputation points
edited the question 2024-02-22T01:11:55.4333333+00:00
Jack J Jun 24,481 Reputation points Microsoft Vendor
0 answers

How to generate the Channel URI for WinUI3 applications?

Hi, I have an WinUI3 unpackaged application without using XAML files project (Windows Subsystem). I am trying to bring Windows Notification Service (WNS)for my project. The sample project of Microsoft provided below works properly and generates the…

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.
743 questions
asked 2024-02-13T12:36:34.77+00:00
Rohan Pande 375 Reputation points
commented 2024-02-21T09:32:54.23+00:00
Junjie Zhu - MSFT 16,391 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

WinUI - Event to Check if High Contrast was chosen

I have a WinUI application and I need to check if the user change the OS theme to High Contrast. I got this error when signed this event to identify if HighContrast was set. It is the same event to UWP, but in WinUI this error happens.

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.
743 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.
10,555 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.
780 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,735 questions
asked 2024-02-19T19:10:24.79+00:00
Anderson Rodrigues Cavalcante 291 Reputation points
commented 2024-02-20T19:58:28.58+00:00
Anderson Rodrigues Cavalcante 291 Reputation points
0 answers

How to create a Image Slider like MS Store?

i want to create an image slider like ms store, i can only show one image! but ms store use multiple images currently i am using ms docs for flipview + pipspager. how i can achive ms store image slider?

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.
743 questions
asked 2024-02-09T12:15:49.34+00:00
Mahdi Hosseini 135 Reputation points
edited the question 2024-02-20T02:09:58.7733333+00:00
Jack J Jun 24,481 Reputation points Microsoft Vendor
0 answers

Windows App SDK

Why does my computer keep asking me to: get the Latest downloads for the Windows App SDK a couple of times a day?

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.
743 questions
asked 2024-02-17T23:21:24.67+00:00
Earl Johnson 0 Reputation points
edited a comment 2024-02-19T05:38:01.0333333+00:00
Xiaopo Yang - MSFT 12,071 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Best Practice for Handling Parent Control Behavior in Custom User Control

"I'm developing a custom user control and need to manage the behavior of its parent UI element based on the triggers inside this control. Currently, I use an event handler property within the custom control. Alternatively, I've tried passing the…

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.
743 questions
asked 2024-02-13T06:07:59.97+00:00
Muthu S 20 Reputation points
accepted 2024-02-13T11:10:54.1433333+00:00
Muthu S 20 Reputation points
1 answer One of the answers was accepted by the question author.

Trying to use Windows.Devices.SmartCards in a WinUI c# applicaiton throws ComException

I am using the following code to create a virtual smartcard and keep getting a ComException. Is await SmartCardProvisioning.RequestVirtualSmartCardCreationAsync() supported in WinUI. This code works fine in UWP application. Is…

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.
743 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,115 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.
10,555 questions
asked 2024-02-09T23:10:06.07+00:00
Zahur, Abdullah 20 Reputation points
accepted 2024-02-13T02:58:02.4466667+00:00
Zahur, Abdullah 20 Reputation points
2 answers One of the answers was accepted by the question author.

Why does a .NET MAUI app, for Windows 10, require the "runFullTrust" capability?

Using Visual Studio 2022 Enterprise 64-bit v17.4.2 on Windows 10 v22H2 64-bit Repro steps. Create a new project, ".NET MAUI App", with the default .NET 6.0 selected as part of the new project wizard Click the run button from the…

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.
743 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,115 questions
Microsoft Partner Center
Microsoft Partner Center
A Microsoft website for partners that provides access to product support, a partner community, and other partner services.
913 questions
asked 2022-12-04T14:13:40.687+00:00
Dave Calkins 51 Reputation points
edited an answer 2024-02-12T23:44:56.4666667+00:00
Rob Caplan - MSFT 5,427 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

WinUI3 : How to print the current UI to PDF without showing Print UI

Hi, I'm working on WinUI3 desktop app in c++. I want to print the current UI (content of an window) to PDF without should any print UI. I was able to print without showing the UI with Win32 API's (but I had to draw the whole UI myself), HDC pdfDC =…

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.
743 questions
asked 2024-01-29T12:10:11.1566667+00:00
Harshithraj1871 1,516 Reputation points
commented 2024-02-01T15:40:03.8966667+00:00
Castorix31 82,661 Reputation points
1 answer

OOP Background Task with SelfContained WinUI/WinAppSDK desktop app doesn't run if dotnet is not installed

I have a beta version available of my WinUI/WinAppSDK desktop app for a restricted set of users via Microsoft Store Package Flights. One of the users reports that none of the 3 background tasks in the app are executed. The 3 type of tasks are: a 15…

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.
743 questions
asked 2024-01-23T13:42:10.23+00:00
Jos Huybrighs 136 Reputation points
edited the question 2024-01-31T07:39:20.4866667+00:00
Jos Huybrighs 136 Reputation points
1 answer

How to fix System.AccessViolationException?

Hi, I have a simple WinUI application to try MultiBinding. When I run debug the application, it throws error System.AccessViolationException. As I researched, an AccessViolationException is an exception typically raised when your process tries 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.
743 questions
asked 2024-01-25T09:30:23.9133333+00:00
Nhan Tran 0 Reputation points
edited an answer 2024-01-31T06:10:58.6833333+00:00
Jeanine Zhang-MSFT 9,431 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Does PointerEntered work for WinUI?

I have tried all kinds of things to make PointerEntered work to no avail. Xaml: <Border BorderThickness="5" BorderBrush="Yellow" Width="300" Height="300" …

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.
743 questions
asked 2024-01-27T00:45:15.5966667+00:00
Hong 1,206 Reputation points
accepted 2024-01-31T01:38:43.8666667+00:00
Hong 1,206 Reputation points