3,009 questions with Universal Windows Platform (UWP) tags

Sort by: Updated
0 answers

Unpairing a Bluetooth LE is not working

Hi. I have tried to disconnect from a BLE device following the example, and it never worked, I need an urgent help please. Thank you.

Universal Windows Platform (UWP)
asked 2025-01-27T16:21:23.14+00:00
F FARAH 0 Reputation points
0 answers

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…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,067 questions
Universal Windows Platform (UWP)
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,238 questions
asked 2025-01-24T12:43:15.7233333+00:00
Joel 0 Reputation points
commented 2025-01-27T13:17:55.2033333+00:00
Joel 0 Reputation points
1 answer

Windows Community Toolkit AdaptiveGridView incorrect behavior

Hi, has anyone had this problem when using AdaptiveGridView (Win UI platform). The elements do not want to expand to occupy the full width available for them in the row (I attach a photo). I'll leave you the code for setting the AdaptiveGridView so that…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
12,007 questions
Universal Windows Platform (UWP)
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,238 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,549 questions
asked 2025-01-24T13:00:01.3166667+00:00
123244 80 Reputation points
answered 2025-01-27T06:49:24.59+00:00
Junjie Zhu - MSFT 20,021 Reputation points Microsoft Vendor
0 answers

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…

Universal Windows Platform (UWP)
asked 2025-01-24T17:50:43.28+00:00
F FARAH 0 Reputation points
commented 2025-01-27T01:46:11.3033333+00:00
Junjie Zhu - MSFT 20,021 Reputation points Microsoft Vendor
0 answers

How tools can I analyse WiFiDirectAdvertisementPublisher connectivity problems

I am using the wifidirectadvertisementpublisher in an application to provide hotspot functionality utilizing wifidirectadvertisement.legacysettings. Once the application receives a notification that a client connects to the hotspot via the…

Universal Windows Platform (UWP)
asked 2025-01-21T17:00:21.91+00:00
50824634 20 Reputation points
commented 2025-01-24T08:20:07.3233333+00:00
Junjie Zhu - MSFT 20,021 Reputation points Microsoft Vendor
0 answers

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…

Universal Windows Platform (UWP)
asked 2025-01-24T05:16:56.2433333+00:00
Hemachandra Rao 0 Reputation points
commented 2025-01-24T08:08:10.02+00:00
Junjie Zhu - MSFT 20,021 Reputation points Microsoft Vendor
0 answers

An exception is given when trying to instanciate AppInstallManager() | UWP

When i try to do this code "AppInstallManager appInstallManager = new AppInstallManager();" In UWP the follow exception is thrown : the code above is on a class library project where is used by both WinUI and UWP projects. The same code…

Universal Windows Platform (UWP)
asked 2024-10-10T21:04:27.8733333+00:00
commented 2025-01-22T02:55:30.1433333+00:00
Junjie Zhu - MSFT 20,021 Reputation points Microsoft Vendor
1 answer

windows.opener() handling with WebView2

In the webform, I have used window.opener for opening a new window that acted as a dialog which required user input, and needed to pass information back to the main window. I am trying to embed this in winform using WebView2 control.The…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,920 questions
Universal Windows Platform (UWP)
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,238 questions
asked 2025-01-13T06:37:06.7133333+00:00
Neha 20 Reputation points
commented 2025-01-22T02:15:22.47+00:00
Roy Li - MSFT 33,591 Reputation points Microsoft Vendor
2 answers

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

Universal Windows Platform (UWP)
asked 2025-01-02T15:44:42.7+00:00
一 王 0 Reputation points
commented 2025-01-22T02:14:44.89+00:00
Roy Li - MSFT 33,591 Reputation points Microsoft Vendor
0 answers

How to fix Windows.Networking.Connectivity.dll - Access is denied

Hi, Its a multiplayer game developed with Unity, I have added the following capabilities in Package.appxmanifest : Internet (Client) Internet (Client & Server) Private Networks (Client & Server) The user is asked to sign in by directing to the…

Universal Windows Platform (UWP)
asked 2025-01-11T16:57:53.4333333+00:00
SHASHANK S 20 Reputation points
commented 2025-01-17T07:52:58.49+00:00
SHASHANK S 20 Reputation points
0 answers

Trying to open a device using HidDevice FromIdAsync in UWP always returns null unless using FileAccessMode.Read

I can confirm that my HID device can have read and write capabilities, because this has been verified in WPF application, where one Endpoint can read and the other can read and write. I thought it might be a permissions issue, but I defined almost every…

Universal Windows Platform (UWP)
asked 2023-02-14T08:32:23.8933333+00:00
Victor Chen 106 Reputation points
commented 2025-01-15T07:18:29.1466667+00:00
Victor Chen 106 Reputation points
1 answer One of the answers was accepted by the question author.

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…

Universal Windows Platform (UWP)
asked 2025-01-13T12:48:42.26+00:00
Shyam Butani 355 Reputation points
accepted 2025-01-14T05:59:57.4533333+00:00
Shyam Butani 355 Reputation points
1 answer One of the answers was accepted by the question author.

Close and then open a new tab page or window asks authentication

I am trying to embed a webform application in WinForm using Webview2 control. The new window opens in a tab page with webview2 child ( e.handled=true). But when destroying the child tab wm_destroy is not calling properly. so each time while open a new…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,920 questions
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,743 questions
Universal Windows Platform (UWP)
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,238 questions
asked 2025-01-11T04:26:32.7333333+00:00
Neha 20 Reputation points
accepted 2025-01-13T02:00:16.2866667+00:00
Neha 20 Reputation points
1 answer

Unable to publish with fulltrustprocess and Multiple instances of UWP app

UWP experts , There are three components here. Main UWP app with multiple instances supported through package manifest - C# UWP FullTrustprocess that acts as the appserviceconnection server - C# .NET 8 WAPP Package that bundles UWP app and…

Universal Windows Platform (UWP)
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,238 questions
asked 2024-12-03T06:00:38.49+00:00
DotNET Fan 271 Reputation points
edited the question 2025-01-11T09:01:32.0033333+00:00
TP 102K Reputation points
0 answers

Why does using VideoTransformEffectDefinition affect the camera brightness

I'm using VideoTransformEffectDefinition to rotate the camera VideoPreviewWhy does using VideoTransformEffectDefinition reduce the brightness?How can this problem be avoided?

Universal Windows Platform (UWP)
asked 2025-01-09T12:45:59.61+00:00
LXY 20 Reputation points
commented 2025-01-10T09:44:05.24+00:00
Junjie Zhu - MSFT 20,021 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

DataPackageView Bitmap looses transparency

When copying a transparent image from a web browser and saving it to a file using a UWP application, the transparency of the image is lost. Below is a code snippet illustrating the approach to save the clipboard's DataPackageView bitmap to a file, which…

Universal Windows Platform (UWP)
asked 2025-01-03T00:26:35.2466667+00:00
TTran 20 Reputation points
edited an answer 2025-01-10T08:06:21.0133333+00:00
Junjie Zhu - MSFT 20,021 Reputation points Microsoft Vendor
0 answers

How to Parse Durable Purchase Receipt in UWP

Hi, I have created two add-ons: one is a Durable product, and the other is a Subscription product. I successfully received receipts for both during purchase. As per the documentation, I parsed the receipt for the Subscription product and retrieved the…

Universal Windows Platform (UWP)
asked 2025-01-01T07:23:39.49+00:00
Jay 140 Reputation points
commented 2025-01-07T10:39:35.09+00:00
Jay 140 Reputation points
0 answers

visual studio 2017 on windows 11 for iot core x86 uwp app development

Hi, I was using visual studio 2017 community on win 10 pro host m/c. I am learning uwp app development on windows 10 iot core x86 image running in virtual box. My development interest is only 32bit Embedded products only. Recently due to the resource…

Universal Windows Platform (UWP)
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,381 questions
asked 2024-12-31T17:29:21.2133333+00:00
Ketan SHAH 0 Reputation points
commented 2025-01-04T12:42:11.9033333+00:00
Ketan SHAH 0 Reputation points
1 answer

How to use WebView2 AddBrowserExtensionAsync in UWP?

Attempted to use webView.CoreWebView2.Profile.AddBrowserExtensionAsync(extensionPath) but received the exception "The request is not supported." It's understood that AreBrowserExtensionsEnabled must be set to True, and the property is found in…

Universal Windows Platform (UWP)
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,238 questions
asked 2024-12-09T06:04:18.1566667+00:00
Victor Chen 106 Reputation points
commented 2025-01-03T07:28:53.03+00:00
Junjie Zhu - MSFT 20,021 Reputation points Microsoft Vendor
0 answers

How to Resolve SQLite Network Path Access Issues in UWP Applications

We are facing an issue accessing a SQLite file located on a network path in our UWP application. Despite enabling the necessary capabilities such as internetClient and privateNetworkClientServer, the file remains inaccessible in release mode. The SQLite…

Universal Windows Platform (UWP)
asked 2024-12-19T11:28:38.5966667+00:00
Lokender Tiwari 0 Reputation points
edited the question 2025-01-02T02:00:17.5466667+00:00
Jack J Jun 24,631 Reputation points Microsoft Vendor