22,528 questions
1
vote
0
answers
57
views
How do I send arguments to application in windows launched with shell:appsFolder?
I know you can use the Get-AppxPackage and Get-AppxPackageManifest cmdlets in Powershell to get the package family and it's specific application entry point.
In this example with Windows Media Player ...
-1
votes
1
answer
36
views
Unity UWP build: “A scripted object probably BlankScene has a different serialization layout” when using [SerializeField]
I'm encountering a serialization error when building a Unity project for UWP and running it in Visual Studio:
A scripted object probably BlankScene has a different serialization layout when loading (...
0
votes
0
answers
131
views
WebView2 control in an UWP app crashes the entire console on Xbox One
Long story short: an app with a WebView2 crashes the entire system if run on a retail Xbox One
I'm having this strange issue. The crash is not just the app closing, is the entire console that restarts ...
1
vote
0
answers
50
views
.NET MAUI - How to calculate the pixel location based on the scale of the underlying image?
My .NET MAUI app is currently targeting Windows OS. It essentially displays a map and some placemarks on the map.
Here is my relevant xaml lines:
<Grid x:Name="_gridContents">
<...
1
vote
0
answers
63
views
Change service StartupType of an UWP app takes long time
I'm trying to change the StartupType of MyService from Disabled to Automatic in an UWP application.
It is working with the code:
ProcessStartInfo startInfo = new();
startInfo.FileName = "...
0
votes
0
answers
77
views
Consume a C# component with WinUI 3 controls from a WinRT/Win32 project
I followed this tutorial https://learn.microsoft.com/en-us/windows/apps/develop/platform/csharp-winrt/create-winrt-component-winui-cswinrt and I would like to do the same thing but from a Win32 ...
1
vote
1
answer
70
views
UWP Page leads to Crash on Windows 10 Mobile but works fine on Desktop
I am developing a Windows 10 UWP Application in C# that I want to be able to run on Windows 10 Mobile as well. I've set the Minimum SDK version to 10.0.10240.0 and it starts up just fine. However, it ...
0
votes
0
answers
46
views
How to check if narrator is enabled in UWP
I want to check if Windows narrator is enabled in UWP. Is there any event which I can subscribe to get narrator event? Alternatively is it possible to check if narrator is enabled?
I tried to find if ...
3
votes
1
answer
153
views
How to bind "DataGridComboBoxColumn.ItemsSource" to Enum collections declared in different derived classes displayed by DataGrid rows?
I have an ObservableCollection of Base Objects bound to a datagrid. I am trying to populate a DataGridComboBoxColumn with Enum values from a derived class instantiated in the observable collection.
...
-1
votes
1
answer
70
views
Can't use x:bind to ListView in UWP
I am unable to bind AssignmentList to ListView. I have tried removing the Refresh() method, but it still crashes with this exception:
Exception thrown: 'System.NotSupportedException' in WinRT.Runtime....
2
votes
2
answers
134
views
JsonSerializer not working in release build uwp
When serializing a complex record in an UWP application, it works fine in debug mode, but in release mode, when application is packaged using Windows application packaging project, the JsonSerializer ...
0
votes
0
answers
63
views
get bound from winrt::Windows::Graphics::Capture::GraphicsCaptureItem
is it possible to retrieve bound from winrt::Windows::Graphics::Capture::GraphicsCaptureItem, i see only Size is supported.
Any specific reason its hidden from expose?
https://learn.microsoft.com/en-...
0
votes
1
answer
64
views
“Old” Mandatory updates and GetAppAndOptionalStorePackageUpdatesAsync
I have a .NET 8 WPF app that I sell through the Microsoft store via what I think is referred to as a Desktop Bridge.
I’m wondering if anyone knows the answer to whether this is intended behavior (or ...
1
vote
1
answer
187
views
How to use AMD AV1 hardware encoder with `MediaTranscoder`?
I am using MediaTranscoder with GraphicsCaptureItem to capture screen and record to a compressed video file.
I have Radeon 860M (built into Ryzen AI 7 350), that supports hardware encoding of H.264 ...
0
votes
1
answer
140
views
Print Support Application - Invalid Appx Manifest
i want to create a PSA (Print Support Application) using dotnet 9.0.300 and Windows 11 SDK. I'm using VS Professional 17.14.2. OS is Windows 11 Pro Version 10.0.26100.
The deploy results in the ...
0
votes
2
answers
94
views
Access is denied. (Exception from HRESULT: 0x80070005) on AddPackageByAppInstallerFileAsync
I am using the AddPackageByAppInstallerFileAsync method on several UWP apps. It has worked on all of the apps except recently for one of the apps. I get a "Access is denied. (Exception from ...
-1
votes
1
answer
47
views
How to find the font used in Windows Universal App?
There's a third party Windows Universal App that uses a particular font for rendering text on its UI. How can I find out the name of that font?
0
votes
0
answers
37
views
React Native Windows: C++ UWP - How to open a folder : LaunchFolderAsync-> (A method was called at an unexpected time)
I cannot open a folder to windows explorer using a native module (C++ UWP).
I tried following the appropriate manner UWP C++
StorageFolder folder{ co_await StorageFolder::GetFolderFromPathAsync(...
0
votes
1
answer
40
views
UWP performance issue in remote desktop when using ListView. But this issue does not happen when using ScrollViewer
On remote desktop, the following code causes the list items to appear grey for a few seconds while scrolling.
<ListView Margin="10" ItemsSource="{Binding Items}" ></...
0
votes
0
answers
27
views
Create a PopUp with dynamic pointer and content in UWP
I want to create a popup in UWP,
It can be clicked anywhere from a canvas
It should be with a triangle pointer
The main popup can be moved dynamically but pointer should always point in the clicked ...
0
votes
1
answer
233
views
MSIX Packaging Tool - Failing Installation
I am trying to create a Windows app from the following simple Python code.
from qtpy.QtWidgets import QApplication, QLabel
from qtpy.QtCore import Qt
if __name__ == "__main__":
# Create ...
3
votes
1
answer
617
views
Visual Studio 2022 XAML Designer for UWP App Not Working
While attempting to follow the instructions on Microsoft's Learn Page linked here:
https://learn.microsoft.com/en-us/visualstudio/get-started/csharp/tutorial-uwp?view=vs-2022
I'm unable to get the ...
0
votes
0
answers
211
views
WinUI 3 amd/or UWP with Winforms XAML Islands Solution for .NET 6+
For understanding XAML Islands, I've gone through
https://learn.microsoft.com/en-us/windows/apps/desktop/modernize/xaml-islands/host-standard-control-with-xaml-islands
and
https://learn.microsoft.com/...
1
vote
1
answer
106
views
Why is Package.appxmanifest required for BLE / UWP?
I have a C# (WPF) application that pairs with and gets data from a device using Bluetooth Low Energy, using the namespaces in UWP. I've been having intermittent problems (especially with the ...
0
votes
1
answer
79
views
Add Azure Communication Calling to UWP APP Marshalling Data
I've added Azure.Communication.Calling.WindowsClient to a UWP app.
It all works fine when running the app in Debug, but when I run it in Release I get this error when trying to use the library:
...