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

Sort by: Updated
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
edited a comment 2025-02-01T13:45:23.1+00:00
Maciej K 10 Reputation points
0 answers

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…

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,401 questions
asked 2025-01-31T21:18:14.6766667+00:00
Gonzalez, Javier 0 Reputation points
1 answer One of the answers was accepted by the question author.

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 20 Reputation points
accepted 2025-01-31T15:09:30.09+00:00
F FARAH 20 Reputation points
0 answers

How to implement the download of free DLC without using UI thread

Hi, In a store app, is it possible to implemente do download of DLC without the need of the UI thread? I ve tried with storecontext but seems not possible. Also, is it possible to start the download of free DLC without the action of purchasing it? In my…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
12,023 questions
Internet Information Services
Universal Windows Platform (UWP)
asked 2025-01-28T11:17:00.8+00:00
Rhuan Inocêncio 0 Reputation points
commented 2025-01-31T06:59:23.74+00:00
Junjie Zhu - MSFT 20,191 Reputation points Microsoft Vendor
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,083 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,264 questions
asked 2025-01-24T12:43:15.7233333+00:00
Joel 0 Reputation points
commented 2025-01-31T02:18:11.95+00:00
Roy Li - MSFT 33,596 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-31T01:59:06.59+00:00
Roy Li - MSFT 33,596 Reputation points Microsoft Vendor
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-31T01:58:58.08+00:00
Roy Li - MSFT 33,596 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

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: …

Universal Windows Platform (UWP)
asked 2022-05-21T01:14:33.013+00:00
frank zhang 121 Reputation points
commented 2025-01-30T03:49:13.0633333+00:00
Mike Petrichenko 0 Reputation points
1 answer One of the answers was accepted by the question author.

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?

Universal Windows Platform (UWP)
asked 2019-12-24T13:08:39.437+00:00
Hong 1,216 Reputation points
commented 2025-01-28T18:38:18.2866667+00:00
Mikael Riuttamäki 0 Reputation points
1 answer One of the answers was accepted by the question author.

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,023 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,264 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,608 questions
asked 2025-01-24T13:00:01.3166667+00:00
123244 100 Reputation points
commented 2025-01-28T10:12:02.8333333+00:00
123244 100 Reputation points
1 answer One of the answers was accepted by the question author.

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…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,083 questions
Universal Windows Platform (UWP)
asked 2023-04-02T11:02:17.5733333+00:00
Marjan Khan 25 Reputation points
edited a comment 2025-01-28T07:57:39.3266667+00:00
Marjan Khan 1 Reputation point
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,191 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,191 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,758 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,264 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,264 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 102.2K Reputation points
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,191 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