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

Sort by: Updated
0 answers

Understanding the 'PackageOptionalProjectsInIdeBuilds' Parameter in .csproj.user Files

The Visual Studio IDE automatically sets the 'PackageOptionalProjectsInIdeBuilds' parameter to false when switching between different Git branches. I noticed that the value of this parameter, whether true or false, affects the size of the uwp app…

Universal Windows Platform (UWP)
asked 2024-12-25T02:40:19.2933333+00:00
Xie Steven 831 Reputation points
commented 2024-12-25T03:21:52.7966667+00:00
Junjie Zhu - MSFT 19,746 Reputation points Microsoft Vendor
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,152 questions
asked 2024-12-03T06:00:38.49+00:00
DotNET Fan 271 Reputation points
commented 2024-12-24T08:31:01.2866667+00:00
Roy Li - MSFT 33,501 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…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,007 questions
Universal Windows Platform (UWP)
asked 2024-12-19T11:28:38.5966667+00:00
Lokender Tiwari 0 Reputation points
commented 2024-12-24T08:30:28.92+00:00
Roy Li - MSFT 33,501 Reputation points Microsoft Vendor
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,152 questions
asked 2024-12-09T06:04:18.1566667+00:00
Victor Chen 106 Reputation points
commented 2024-12-24T08:00:38.7866667+00:00
Junjie Zhu - MSFT 19,746 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

While build app on release mode the wcf end point having issues. All Good in debug mode

Hi all, Am facing an issue with the WCF service. All good in debug mode. After building it in release mode and run the app having problem in WCF endpoint. Providing the images. Debug Mode Image Release Mode Image

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,007 questions
Universal Windows Platform (UWP)
asked 2021-01-21T17:02:04.917+00:00
Manu Michael Samuel 131 Reputation points
commented 2024-12-23T17:24:27.2433333+00:00
APK WIK 0 Reputation points
1 answer One of the answers was accepted by the question author.

How does WiFiDirectAdvertisementPublisher decide which wifi channels to use?

I am using the WiFiDirectAdvertisementPublisher to provide a hotspot functionality, how does this API choose which channels to use and can this be configured? Is it assured that only valid channels for the country in which windows is being used? Are…

Universal Windows Platform (UWP)
asked 2024-12-16T11:15:53.9266667+00:00
50824634 20 Reputation points
commented 2024-12-19T09:09:38.1366667+00:00
50824634 20 Reputation points
0 answers

MediaFrameReader TryAcquireLatestFrame method throws exception after latest Windows 11 update to 26100.2605

Hi, we are using MediaFrameReader to retrieve frames from webcams and after the latest update last week it turned out that there is no video output and MediaFrameReader.TryAquireLatestFrame method throws an exception. There were no changes to our…

Universal Windows Platform (UWP)
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,276 questions
asked 2024-12-18T11:37:02.9266667+00:00
Kamil Hosaja 0 Reputation points
commented 2024-12-19T02:57:36.4933333+00:00
Junjie Zhu - MSFT 19,746 Reputation points Microsoft Vendor
1 answer

How to add items to Windows 11 modern EXPLORER context menu using C#?

I'm developing a UWP program and want to associate a custom menu item with a specific file format and show it in the Windows 11 new version File Explorer context menu (first level menu). Is there such an API?And how to do this in winform?

Universal Windows Platform (UWP)
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
804 questions
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,152 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,276 questions
asked 2022-02-19T06:46:27.067+00:00
Jeffreyg1228 1 Reputation point
commented 2024-12-16T03:21:57.3233333+00:00
Les Ferch 46 Reputation points
1 answer

.NET 9 UWP Build Error

A blank project created in Visual Studio 2022 using .NET 9 UWP generates a build error: Microsoft.UI.Xaml.Markup.winmd cannot be referenced. Referencing a Windows Metadata component directly when targeting .NET 5 or higher is not supported. For more…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,007 questions
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,307 questions
asked 2024-12-12T08:26:00.6966667+00:00
Singh Wong 51 Reputation points
answered 2024-12-13T11:53:25.9+00:00
Singh Wong 51 Reputation points
1 answer

How to access camera preview frames with MediaCapture class in Unity?

Using the Windows MediaCapture class we can capture videos and images on the HoloLens 2. The class also offers preview capabilities (see here). However, I am not sure how to get the preview stream within Unity and then display it to the user. In the docs…

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,152 questions
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.
405 questions
asked 2024-11-15T08:24:11.62+00:00
Valentin 40 Reputation points
edited a comment 2024-12-09T15:56:13.8533333+00:00
Valentin 40 Reputation points
2 answers

How to know when a user installed my app? Passing from paid to freemium

I have a paid desktop app on the Microsoft Store. I will be changing the monetization from paid to freemium. So the users will be able to download the app for free and will be offered a subscription to unlock some features. Now the problem is that…

Universal Windows Platform (UWP)
Microsoft Partner Center API
Microsoft Partner Center API
Microsoft Partner Center: A Microsoft website for partners that provides access to product support, a partner community, and other partner services.API: A software intermediary that allows two applications to interact with each other.
352 questions
asked 2024-11-25T22:23:20.8566667+00:00
FilBozPar 0 Reputation points
commented 2024-12-09T02:15:57.5133333+00:00
Junjie Zhu - MSFT 19,746 Reputation points Microsoft Vendor
0 answers

How to make sandbox account for testing to purchase app in Microsoft partner center?

"I want to create a sandbox account in Partner Center. How can I do that? I want to test in-app purchases. Could you please guide me?"

Universal Windows Platform (UWP)
asked 2024-11-12T05:07:51.9433333+00:00
Deepak Patel 60 Reputation points
edited the question 2024-12-06T01:27:35.0233333+00:00
Roy Li - MSFT 33,501 Reputation points Microsoft Vendor
0 answers

MediaClip.CreateFromFileAsync() throws System.ArgumentException

MediaClip videoClip = await MediaClip.CreateFromFileAsync(storageFileVideo); The above code occasionally throws the following exception: System.ArgumentException at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21 at…

Universal Windows Platform (UWP)
asked 2024-11-13T02:26:31.3266667+00:00
Hong 1,216 Reputation points
commented 2024-12-04T14:34:32.86+00:00
Hong 1,216 Reputation points
1 answer

UWP pipe client and C++ Fulltrustprocess pipe server - Access to the path is denied

Hello UWP experts, I get "Access to the path is denied" when connecting a UWP namedpipeclient to C++ Fulltrust process namedpipe server in packaged (WAPP) and non packaged mode. Its a simple piece of code to see how the namedpipe works betweek…

Universal Windows Platform (UWP)
asked 2024-11-19T04:13:17.18+00:00
DotNET Fan 271 Reputation points
edited the question 2024-12-04T02:01:42.8566667+00:00
Roy Li - MSFT 33,501 Reputation points Microsoft Vendor
0 answers

Issue Retrieving Campaign ID (cid) in Microsoft Store app

I am encountering an issue with retrieving the CampaignId (cid) parameter programmatically in an application installed from a Microsoft Store following Create a custom app promotion campaign guide. To retrieve the CampaignId, I am using code provided in…

Universal Windows Platform (UWP)
asked 2024-11-22T09:39:02.9733333+00:00
Joel 0 Reputation points
commented 2024-12-03T06:05:50.2733333+00:00
Junjie Zhu - MSFT 19,746 Reputation points Microsoft Vendor
0 answers

Is there any API connected my DIY graphic tablet to windows inking platform?

I have DIY a graphic tablet which send position and pressure data to PC by serial port. I want to connect the device to Windows inking platform. I know Windows.UI.Input.Inking give powerful APIs accessed to pen and inking. Is there any API can connected…

Universal Windows Platform (UWP)
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,700 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,276 questions
asked 2024-11-27T12:35:26.1666667+00:00
力超 张 0 Reputation points
edited the question 2024-12-03T02:26:38.3233333+00:00
Jack J Jun 24,616 Reputation points Microsoft Vendor
0 answers

context deadline while posting notification through API https://dm3p.notify.windows.com?token=xxx

got many timeout when using wns for push since about 28.11 9:00(utc+8) api: https://dm3p.notify.windows.com?token=xxx I have been using this function for a year without any problems. This timeout problem has occurred since around 9:00(utc+8) this…

Universal Windows Platform (UWP)
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,704 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
355 questions
asked 2024-11-28T08:36:42.49+00:00
景轩 王 35 Reputation points
commented 2024-11-29T01:44:35.5066667+00:00
Junjie Zhu - MSFT 19,746 Reputation points Microsoft Vendor
0 answers

Windows.Data.Pdf.PdfDocument Crash with file size greater than 2GB

Same issue as here (no replies there, it's an old thread) https://learn.microsoft.com/en-us/answers/questions/248422/windows-data-pdf-pdfdocument-crash My notes: Crash is not catchable which makes it really hard to find reason for issue or…

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,152 questions
asked 2024-11-12T17:59:23.92+00:00
Jérôme S 5 Reputation points
commented 2024-11-28T07:42:46+00:00
Junjie Zhu - MSFT 19,746 Reputation points Microsoft Vendor
0 answers

WNS(Raw Notification) fail after PC restart and cannot accept message push notifications

Hello, I have found that the message push service(WNS) cannot be used after restarting the computer. After restarting, the PushNotifications LongRunningTask.exe process was not running, so it did not receive a message and subsequent pushes were dropped.…

Universal Windows Platform (UWP)
asked 2024-11-16T05:57:06.44+00:00
coco 0 Reputation points
edited the question 2024-11-28T02:15:50.85+00:00
Roy Li - MSFT 33,501 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Issues with Creating and Passing SolidColorBrush Objects Between Worker and UI Threads in WinRT/C++

Hello, I'm working on a multi-threaded WinRT/C++ application and have encountered an issue when trying to create a SolidColorBrush object on a worker thread and pass its ABI pointer to the UI thread (main thread) for use in a UI element. I’ve tried…

Universal Windows Platform (UWP)
asked 2024-11-26T06:03:04.6433333+00:00
Shyam Butani 330 Reputation points
accepted 2024-11-26T12:07:41.2833333+00:00
Shyam Butani 330 Reputation points