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…
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…
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…
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…
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…
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…
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:…
[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…
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…
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…
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.
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
Why does my computer keep asking me to: get the Latest downloads for the Windows App SDK a couple of times a day?
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…
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…
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…
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 =…
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…
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…
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" …