2,967 questions with Universal Windows Platform (UWP) tags

Sort by: Updated
0 answers

Microsoft Store In-App Purchase Issue: Add-On Products Keep Loading and Show "PEX-CatalogAvailabilityDataNotFound" Error

I'm experiencing an issue with in-app purchases (IAP) in my Unity game published on the Microsoft Store. I have created multiple store-managed consumable add-ons (e.g., "speed_x1", "speed_x3") and have set up their respective product…

Universal Windows Platform (UWP)
Microsoft Partner Center
Microsoft Partner Center
A Microsoft website for partners that provides access to product support, a partner community, and other partner services.
1,000 questions
asked 2024-10-31T14:35:41.2666667+00:00
MecanzLuna 0 Reputation points
commented 2024-11-01T03:30:58.5+00:00
Junjie Zhu - MSFT 18,391 Reputation points Microsoft Vendor
1 answer

How to implement a full-screen button that honors light and dark modes

Hello, I want to implement a Full-Screen button. I found in net any solutions, but they doesnt honors Dark Mode. The button must be placed on app upper belt near minimize/maximize/close window buttons. Could anyone tell how to implement full-screen…

Universal Windows Platform (UWP)
asked 2024-10-23T14:59:05.72+00:00
BitSmithy 2,121 Reputation points
commented 2024-10-31T08:54:48.99+00:00
Junjie Zhu - MSFT 18,391 Reputation points Microsoft Vendor
1 answer

VS2022 Error When Deploying HoloLens 2 Application: GameAssembly.lib Not Found

I encountered an error while deploying a HoloLens 2 application using VS2022: GameAssembly.lib not found. I noticed that the file does not exist in the Build folder and I'm not sure why it wasn't generated. I am deploying via Wi-Fi.

Universal Windows Platform (UWP)
HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
400 questions
asked 2024-10-29T13:31:49.65+00:00
琛博 程 0 Reputation points
answered 2024-10-31T05:58:03.5233333+00:00
Ying Li - MSFT 1,200 Reputation points Microsoft Vendor
0 answers

UWP App: Error in WACK - Unable to fetch list of approved APIs

I've written a UWP app in C#.NET. I've tested it, and want to publish it to the App Store, so I need to run the Windows App Certification Kit (WACK) on it. Most of the tests pass, but the Supported API test fails consistently, always saying: "The…

Universal Windows Platform (UWP)
asked 2024-10-29T21:01:07.09+00:00
Walter Humfeld 0 Reputation points
commented 2024-10-31T01:13:11.9433333+00:00
Roy Li - MSFT 33,371 Reputation points Microsoft Vendor
1 answer

Windows.Media.SpeechRecognition

In a .NET project, you can't create a Windows.Media.SpeechRecognition object in administrator mode

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,477 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,904 questions
Universal Windows Platform (UWP)
asked 2024-10-23T03:28:47.9533333+00:00
jj T 0 Reputation points
commented 2024-10-30T15:00:56.0033333+00:00
jj T 0 Reputation points
3 answers

Handling Appservice connections in a multiple instance of fulltrust process

Hello UWP experts, Please look at the below thread . This question is related to the thread. https://learn.microsoft.com/en-us/answers/questions/2087088/uwp-app-communication-with-another-process-(*-exe)?comment=question#newest-question-comment UWP app…

Universal Windows Platform (UWP)
asked 2024-10-15T10:24:46.31+00:00
DotNET Fan 211 Reputation points
commented 2024-10-30T01:56:03.0266667+00:00
Roy Li - MSFT 33,371 Reputation points Microsoft Vendor
1 answer

Rating popup take more time to open

in my app , i give an option for rating my app so on there i just navigate to microsoft store rating popup but it take more time to open.. if you have any trick as i can open fast. so please provide me. Thanks.

Universal Windows Platform (UWP)
asked 2024-10-11T06:53:51.3866667+00:00
Deepak Patel 40 Reputation points
commented 2024-10-30T01:54:28.0366667+00:00
Roy Li - MSFT 33,371 Reputation points Microsoft Vendor
1 answer

How come I keep geting the errors when I use the simple shooter sample?

Theres a problem with this code: GameplayScreen.cpp `// Create a sphere primitive to represent the player.` ` // The sphere will be used to handle collisions and constrain the player in the world.` ` // It is not rendered so it is not added to the…

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,172 questions
asked 2024-10-01T20:26:45.3933333+00:00
Garrett Tiller 6 Reputation points
commented 2024-10-30T01:52:59.5+00:00
Roy Li - MSFT 33,371 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Deeplinking in UWP app

I have checked and found that deep linking is possible in a UWP app using the steps below: #1 We need to create a protocol on the app side and add a protocol name, such as 'testdeeplink,' as a unique keyword. #2 When I call testdeeplink://upgradeplan, it…

Universal Windows Platform (UWP)
asked 2024-10-29T06:12:12.1666667+00:00
Jay 140 Reputation points
accepted 2024-10-29T07:47:54.44+00:00
Jay 140 Reputation points
1 answer

Get Hwnd of swapchainpanel in UWP Application

I have a UWP App that uses a C++ API to render videos. The C++ API takes IntPtr of panel where we need to render the video as input. In Winforms, I can directly pass a panel's Handle where the video will be rendered. How can I do the same in UWP. I am…

Universal Windows Platform (UWP)
asked 2021-10-12T08:29:59.903+00:00
vaishali sharma 21 Reputation points
commented 2024-10-28T09:37:13.14+00:00
Mostafizur Rahman 0 Reputation points
1 answer One of the answers was accepted by the question author.

Attachment not attached in Outlook mail system in C# UWP

Hi, I am trying to attach a file in the Outlook mail system using C# UWP, but it's not working. It works fine in the old Mail app. Could you please help? Code: EmailMessage emailMessage = new EmailMessage(); StorageFile attachmentFile = await…

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.
10,995 questions
asked 2024-10-02T13:02:10.9666667+00:00
Jay 140 Reputation points
edited the question 2024-10-28T02:08:28.99+00:00
Jack J Jun 24,516 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Registry returns wrong value by UWP full trust process

In my UWP app I have a full trust WinForm process that provides system tray icon and full trust functionality such as working with Registry and File System. I noticed that the full trust process gets wrong Registry HKCU values - not the values I see in…

Universal Windows Platform (UWP)
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,754 questions
asked 2024-10-17T22:10:58.84+00:00
60856927 66 Reputation points
edited the question 2024-10-28T02:07:20.0233333+00:00
Jack J Jun 24,516 Reputation points Microsoft Vendor
0 answers

Windows.Data.Pdf.PdfDocument Crash

when i use Windows.Data.Pdf.PdfDocument to load a pdf file which sizes more than 2 GB, it crashed immediately. No matter what you use LoadFromStreamAsync or LoadFromFileAsync, it just crashed with no information. i can't catch this crash with try…

Universal Windows Platform (UWP)
asked 2021-01-28T04:44:42.07+00:00
buskysnow 6 Reputation points
edited a comment 2024-10-25T11:40:18.8766667+00:00
Jérôme S 0 Reputation points
0 answers

Inquiry about Canceling Non-Consumable IAP UWP

As I understand, UWP lacks a sandbox mode for testing payments, and the only way to conduct tests is by setting the product price as free. We are facing an issue with testing Non-Consumable purchases, which are bought once and permanently linked to the…

Universal Windows Platform (UWP)
asked 2024-10-24T18:12:07.4733333+00:00
Amelia Ivanova 0 Reputation points
commented 2024-10-25T03:17:44.7033333+00:00
Junjie Zhu - MSFT 18,391 Reputation points Microsoft Vendor
0 answers

target version error while installing nuget package to uwp solution

I'm trying to add WindowsAzure.Messaging.Managed package to my uwp solution and I receive error Severity Code Description Project File Line Suppression State Details Error Could not install package 'WindowsAzure.Messaging.Managed 0.1.7.9'. You are trying…

Universal Windows Platform (UWP)
asked 2024-10-22T08:51:41.98+00:00
Abdurrahman Türkeri 0 Reputation points
edited the question 2024-10-22T15:04:36.86+00:00
Grmacjon-MSFT 18,451 Reputation points
1 answer One of the answers was accepted by the question author.

How to change slider's thumb color

Hellow, I want to change slider's thumb color to red. I was traing to change slider templete on my own, but with my changess slider didint wont to move. So please tell me how to properly change slider's thumb color to RED. Below my slider: …

Universal Windows Platform (UWP)
asked 2024-10-18T10:01:05.1233333+00:00
BitSmithy 2,121 Reputation points
accepted 2024-10-22T14:45:29.5933333+00:00
BitSmithy 2,121 Reputation points
1 answer One of the answers was accepted by the question author.

[UWP] Change Lottie Animation Color / Theme Dynamically

I have used lottie json animation in xaml uwp using "CommunityToolkit.WinUI.Lottie" and "AnimatedVisualPlayer". But for dark theme I can not see the lottie animation as the color is fixed. How can we dynamically change color of…

Universal Windows Platform (UWP)
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.
814 questions
asked 2024-09-30T07:38:02.08+00:00
Md. Niaz Mahmud 131 Reputation points
accepted 2024-10-22T08:10:12.9866667+00:00
Md. Niaz Mahmud 131 Reputation points
2 answers One of the answers was accepted by the question author.

How winrt::hstring manages memory and reference count while copying?

Hello, I want to understand how winrt::hstring manages memory when we copy hstring to another hstring. TextBlock tb; hstring label_copy; { hstring label = L"Sample text"; // Address: 0xA0 (assume) label_copy =…

Universal Windows Platform (UWP)
asked 2024-10-16T05:42:52.1833333+00:00
Shyam Butani 235 Reputation points
accepted 2024-10-17T05:03:08.56+00:00
Shyam Butani 235 Reputation points
2 answers

UWP app stays suspended after maximize

My UWP stays suspended even after user brings it to foreground. According to Microsoft docs it should resume from the suspension, but it doesn't. What can be the reason of such a weird behavior? https://imgur.com/a/knguaEV

Universal Windows Platform (UWP)
asked 2024-09-24T22:33:54.8066667+00:00
60856927 66 Reputation points
commented 2024-10-16T07:05:58.2533333+00:00
Junjie Zhu - MSFT 18,391 Reputation points Microsoft Vendor
0 answers

Universal Windows Platform (UWP) API Call from C native console application - crash

Hi! Based on Microsoft Universal Samples (https://github.com/microsoft/Windows-universal-samples) I've created a static library(.lib) for geolocating on Windows 10/11. The library is linked into a Windows console application (.exe). I've tried with…

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,172 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,754 questions
asked 2024-10-15T13:03:17.6366667+00:00
test test 0 Reputation points
commented 2024-10-15T16:18:34.6566667+00:00
Darran Rowe 1,026 Reputation points