3,042 questions with Developer technologies | Universal Windows Platform (UWP) tags

Sort by: Updated
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?

Developer technologies | Universal Windows Platform (UWP)
asked 2019-12-24T13:08:39.437+00:00
Hong 1,246 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…

Developer technologies | Universal Windows Platform (UWP)
Windows for business | Windows Client for IT Pros | User experience | Other
Developer technologies | C#
asked 2025-01-24T13:00:01.3166667+00:00
123244 140 Reputation points
commented 2025-01-28T10:12:02.8333333+00:00
123244 140 Reputation points
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…

Developer technologies | 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 21,646 Reputation points
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…

Developer technologies | 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 21,646 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…

Developer technologies | 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.

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…

Developer technologies | Windows Forms
Developer technologies | Universal Windows Platform (UWP)
Windows for business | Windows Client for IT Pros | User experience | Other
Developer technologies | C#
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 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…

Developer technologies | Universal Windows Platform (UWP)
asked 2025-01-03T00:26:35.2466667+00:00
TTran 30 Reputation points
edited an answer 2025-01-10T08:06:21.0133333+00:00
Junjie Zhu - MSFT 21,646 Reputation points
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…

Developer technologies | 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…

Developer technologies | Universal Windows Platform (UWP)
Developer technologies | Visual Studio | Other
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…

Developer technologies | Universal Windows Platform (UWP)
Developer technologies | C#
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 21,646 Reputation points
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

Developer technologies | Universal Windows Platform (UWP)
Windows for business | Windows Client for IT Pros | User experience | Other
Developer technologies | Visual Studio | Other
asked 2024-07-04T05:13:19.4133333+00:00
Luke Ferguson 36 Reputation points
edited the question 2024-12-31T00:51:58.9633333+00:00
IoTGirl 3,696 Reputation points Microsoft Employee Moderator
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…

Developer technologies | Universal Windows Platform (UWP)
Developer technologies | .NET | Other
Developer technologies | Visual Studio | Other
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 21,646 Reputation points
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

Developer technologies | Universal Windows Platform (UWP)
Developer technologies | .NET | Other
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…

Developer technologies | 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…

Developer technologies | Universal Windows Platform (UWP)
Windows for business | Windows Client for IT Pros | User experience | Other
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 21,646 Reputation points
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?

Developer technologies | Universal Windows Platform (UWP)
Windows development | Windows App SDK
Windows for business | Windows Client for IT Pros | User experience | Other
Developer technologies | C#
asked 2022-02-19T06:46:27.067+00:00
Jeffreyg1228 1 Reputation point
commented 2024-12-16T03:21:57.3233333+00:00
Les Ferch 61 Reputation points Volunteer Moderator
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…

Developer technologies | Universal Windows Platform (UWP)
HoloLens | Development
Developer technologies | C#
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…

Developer technologies | Universal Windows Platform (UWP)
Microsoft Partner Center API
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 21,646 Reputation points
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?"

Developer technologies | 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
Anonymous
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…

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