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…
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…
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…
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…
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
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…
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…
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?
.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…
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…
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…
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?"
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…
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…
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…
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…
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…
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…
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.…
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…