3,041 questions with Developer technologies | Universal Windows Platform (UWP) tags
Missing Events Logs
how do I fix "Missing Events in Event Log events were lost during data collection," warning?
Developer technologies | Universal Windows Platform (UWP)
Error uploading UWP app to Microsoft Store: Microsoft.VCLibs.140.00.UWPDesktop version mismatch
I encountered this error while uploading my UWP app to the Microsoft Store. The error message reads: 'Your package Microsoft.VCLibs.140.00.UWPDesktop specifies version 14.0.33728.0, but 14.0.24217.0 is the minimum available version.' Could someone help…
Developer technologies | Universal Windows Platform (UWP)
How to navigate between controls on KeyDown event.
I'm trying to have a KeyDown function that makes the focus move to the next control. I've tried this but it throws me an error: private void Obj_KeyDown(object sender, KeyRoutedEventArgs e) { if (e.Key.ToString() == "Enter") …
Developer technologies | Universal Windows Platform (UWP)
Windows development | Windows App SDK
Developer technologies | C#
Why squares inside canvas get distortion after page resize in uwp app
I made a UWP app and in its xaml file I wrote the following: <Viewbox Height="60" Width="205" VerticalAlignment="Center" HorizontalAlignment="Center"> <Canvas x:Name="Mycanvas"…
Developer technologies | Universal Windows Platform (UWP)
How to obtain access to 'HumanPresenceSettings. SetingsChanged'
The "HumanPresenceSettings" instance I returned through this method, 'humanPresenceSettings=await HumanPresenceSettings. GetCurrentSettings Asynchronous ()', can read the relevant settings. However, when I subscribe to 'HumanPresenceSettings.…
Developer technologies | Universal Windows Platform (UWP)
Windows for business | Windows Client for IT Pros | User experience | Other
Developer technologies | C#

ARM64 UWP DesktopExtension – "e_sqlite3.dll is not a valid Win32 application" despite including runtimes\win-arm64\native
I have an UWP app with Desktop Extension (implemented like this tutorial: https://github.com/StefanWickDev/UWP-FullTrust/tree/master). Here is my sample project, which shows this…
Developer technologies | Universal Windows Platform (UWP)

UWP C# app: Trouble doing drag and drop from home folder
I am working on a UWP app. I have implemented an event handler such that if you drag a PDF file onto our main page, we begin to process that document. This appears to work fine, so I'm pretty sure we are setting things up reasonably. The exception? …
Developer technologies | Universal Windows Platform (UWP)

AppInstallManager error - UWP
Hello Hello. I have a sample UWP and the following code is getting error: private async void Button_ClickAsync(object sender, RoutedEventArgs e) { AppInstallManager appInstallManager = new AppInstallManager(); } WinUI works well.
Developer technologies | Universal Windows Platform (UWP)
Developer technologies | C#

Selected item in ComboBox is not visible when popup is open (UWP)
Hi, I want the ComboBox to show the selected item when its popup is open. This is the look of ComboBox when it is closed: And here is ComboBox with oped popup (Notice that selected "Item 1" in ComboBox is not visible):
Developer technologies | Universal Windows Platform (UWP)
Windows for business | Windows Client for IT Pros | User experience | Other
Error MSB4044 RemoveDisposableSigningCertificate
I am facing this issue while creating UWP package : Error MSB4044 A value was not specified for the task “RemoveDisposableSigningCertificate” for the required “CertificateThumbprint” parameter. C:\Program Files Microsoft Visual Studio…
Developer technologies | Universal Windows Platform (UWP)
What is the best variable for save an image and then draw squares over that: WriteableBitmap or softwarebitmap? Or is there a better strategy ?
If I captured an image and then I want to draw something like square or polygon, I want to know what is the best way to handle that image. Is good to save in a WriteableBitmap? or softwareBitmap? Is necessary to load in a Canvas ? Thanks.
Developer technologies | Universal Windows Platform (UWP)
x:bind observable collection to Grid column width
Hello, I am trying to x:bind ObservableCollection to Grid columns, but my code works only partly. I have such XAML: <ListView x:Name="lvExpAndCosts" ItemsSource="{x:Bind ocExpendituresAndCosts}"> …
Developer technologies | Universal Windows Platform (UWP)

How to disconnect a Bluetooth (not LE) device from windows computer in UWP/.NetCore/etc.?
I have a Bluetooth device connected to my computer. The following is the state of the device in Bluetooth & Other Devices list. I want to disconnect it from the computer using any API of desktop/UWP app (e.g., IOCTL etc.). So I want to make it to…
Developer technologies | Universal Windows Platform (UWP)
Developer technologies | .NET | Other
Canvas to WriteableBitmap
Hello. I'm imported an images and loaded in a WriteableBitmap. Then i loaded that image in a Image variable. I need to draw a simple square . For that my next step was to load the Image variable in a canvas. Using a polygon i was able to draw a simple…
Developer technologies | Universal Windows Platform (UWP)
Developer technologies | Visual Studio | Other
Can we set preview of Drag-and-Drop before drag event in WinUI2?
Hi, I'm working on WinUI2 application with Xaml Island in C++. Suppose we've one draggable TextBlock and when we drag it, we can see some preview moving with the mouse pointer moving. In order to set that preview I'm doing in DragStarting handler as…
Developer technologies | Universal Windows Platform (UWP)
Windows development | Windows App SDK
Developer technologies | C++
Unpairing a Bluetooth LE is not working
I use VS C++ 2015-2022 Redistributable (x64) 14.40.33810 with Windows SDK version 10.0.226100.3233, I am able to pair with a BLE device using the UWP API, but I have had absolutely no luck in unpairing the device. I am in need of an urgent help. Thank…
Developer technologies | Universal Windows Platform (UWP)
Developer technologies | C++

Issue with "Mandatory" package update status in Microsoft Store
Hi, I am experiencing an issue with the Microsoft Store incorrectly reporting "Mandatory" package update status in some of my UWP applications. Following the official documentation, I implemented an update flow in my application that provides…
Developer technologies | Universal Windows Platform (UWP)
Developer technologies | .NET | Other
Developer technologies | C#
The issue of porting Unity to UWP and adding in-app purchases.
I have a Unity game and I want to port it to UWP and add Microsoft in-app purchases. Are there any tutorials or case studies available? I have failed multiple times, especially when trying to add DLLs and other components. thanks
Developer technologies | Universal Windows Platform (UWP)
Is there a way to disconnect a ble connection from server?
After setting service/characteristics and do serviceProvider.StartAdvertising(), then ble client connect the server. How can server do disconnect to a client ? I did't find any api in Docs. In a word, what I want is the method for server to: …
Developer technologies | Universal Windows Platform (UWP)
How to sideload app on Windows Phone 8.1 now?
The Store app seems to have stopped working on Windows Phone 8.1 devices. In this case, how to sideload an app built with WinRT (.appxupload) on Windows Phone 8.1 devices?