3,042 questions with Developer technologies | Universal Windows Platform (UWP) tags
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)
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#
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)

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)

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)


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#
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)

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)
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
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#


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


.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

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
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)
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

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#
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#
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

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