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

Sort by: Updated
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,917 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,190 questions
asked 2025-01-13T06:37:06.7133333+00:00
Neha 20 Reputation points
commented 2025-01-14T09:43:26.1+00:00
Jiale Xue - MSFT 48,686 Reputation points Microsoft Vendor
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 330 Reputation points
accepted 2025-01-14T05:59:57.4533333+00:00
Shyam Butani 330 Reputation points
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 0 Reputation points
commented 2025-01-14T02:37:35.0866667+00:00
Junjie Zhu - MSFT 19,931 Reputation points Microsoft Vendor
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,917 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,706 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,190 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,190 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 101.8K 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 19,931 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 19,931 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,343 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,190 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 19,931 Reputation points Microsoft Vendor
1 answer

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
answered 2025-01-02T16:18:57.9733333+00:00
Michael Taylor 55,921 Reputation points
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,626 Reputation points Microsoft Vendor
0 answers

Is there a manual bible for learning about visual studio community 2022 c# uwp on coding

Is there a manual bible for learning about visual studio community 2022 c# uwp on coding

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,959 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,343 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,420 questions
asked 2024-07-04T05:13:19.4133333+00:00
Luke Ferguson 31 Reputation points
edited the question 2024-12-31T00:51:58.9633333+00:00
IoTGirl 3,221 Reputation points Microsoft Employee
2 answers

.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,039 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,343 questions
asked 2024-12-12T08:26:00.6966667+00:00
Singh Wong 51 Reputation points
commented 2024-12-27T07:44:39.38+00:00
Junjie Zhu - MSFT 19,931 Reputation points Microsoft Vendor
1 answer

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…

Universal Windows Platform (UWP)
asked 2024-05-22T08:13:34.43+00:00
Henry-6115 66 Reputation points
answered 2024-12-26T18:39:05.3866667+00:00
The Dashman 0 Reputation points
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,931 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,039 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,420 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,931 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.
809 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,190 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,420 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