Questions tagged [uwp]

The Universal Windows Platform is a common software platform for all devices running Windows 10, including Desktop. This tag should be used for questions regarding developing UWP applications on any of the supported device families. Other tags such as the languages being used (C#, C++, etc.) and the style of API (Win32, WinRT, etc.) can be added. Packaged Win32 Applications should use the Desktop-Bridge tag (possibly in addition to UWP).

Filter by
Sorted by
Tagged with
0 votes
1 answer
41 views

Packaging Multiple UWP applications into 1 container with Microsoft Store

I'd like to bundle multiple launchable UWP apps into 1 single container for sharing the local data. We can think it of as App 1 App 2 which will share the same LocalState folder, but they will have ...
Burak Kaan Köse's user avatar
1 vote
0 answers
52 views

Hololens 2 UWP C# App: Issues with Front-Facing Camera at Higher Resolutions (2272x1278) and NV12

I am developing a UWP C# application for the Hololens2. I am trying to access the front facing camera using MediaCapture and MediaFrameReader. So far everything works fine as long as I keep the ...
Richard F.'s user avatar
-1 votes
0 answers
22 views

UWP binding with dictionary

I'm working on a custom validator binding thing. I use multiple validator classes in an UWP project. These validators are custom implementations without any interface and I want to bind the IsValid ...
Panthesilea's user avatar
0 votes
0 answers
7 views

LibVLCSharp Media Player stops when app is minimized

I have a UWP Application. I am using a LibVLCSharp.Uno.VideoView and LibVLCSharp.Shared.MediaPlayer. I have a problem, when the app is minimized the player stops. I added a Background Media Playback ...
Denys's user avatar
  • 15
0 votes
1 answer
27 views

How to prevent system notifications (of all apps) from showing up during screenshare in Windows?

I'm using a UWP app and following the screen capturing as mentioned in the https://learn.microsoft.com/en-us/windows/uwp/audio-video-camera/screen-capture As a part of privacy, how can I ...
Karthik's user avatar
  • 95
0 votes
0 answers
19 views

How do I add a blank line at end of DataGrid?

I'm working on a UWP application using the DataGrid component on most of my screens. My customer has a simple request. Many of his users will go into the Windows settings and enable the "Always ...
Flarosa's user avatar
  • 1,347
-1 votes
0 answers
24 views

How to convert type pdftron.PDF.PDFDoc to List<byte[]>

private async Task<List<byte[]>> GetEmailReadyOriginalPaper() { const string functionName = "GetEmailReadyOriginalPaper"; try { ...
Pudara Semini's user avatar
1 vote
0 answers
18 views

UWP in JetBrains Rider

UWP doesn't work in JetBrains Rider. Returns code 1 when I run it Errors in Package.appxmanifest: URI is not registered (Settings | Languages & Frameworks | Schemas and DTDs) for xmlns="...
Sunrise987's user avatar
0 votes
0 answers
17 views

Manifest Error during Appx build [Hololens 2, Unity, Vuforia]

Short Overview Unity UWP Application for Hololens 2 using MRTK with later added Vuforia. Unity Version: 2021.3.30f1 MRTK: 2.8.3.0 Vuforia: 10.19.3 Problem I have an application in which I work with ...
Alex's user avatar
  • 161
0 votes
1 answer
28 views

Setting Font to the DefaultCharacterFormat using uri for the RichEditBox in UWP is raising Exception

public MainPage() { this.InitializeComponent(); RichEditBox rbox = new RichEditBox(); Canva.Children.Add(rbox); rbox.Document.SetText(0, "asdfasfasdfasdfasdfoiuytredfxbnuytrxgd &...
pavan kumar's user avatar
0 votes
1 answer
28 views

How to create an audio fade in effect with UWP AudioGraph?

I have an app that plays audio files. When the user starts audio playback, I want the audio to fade in from effectively 0 volume to 1 over a duration of 300ms or something like that. I've been playing ...
Daniel's user avatar
  • 136
0 votes
0 answers
31 views

Input lag issue on On-Screen keyboard in Windows 10 Enterprise 2016

Experiencing on-screen keyboard issues, specifically with UWP applications. This problem is not consistent across all devices; only some are affected. Interestingly, the issue occurs exclusively ...
Kishore's user avatar
  • 11
0 votes
0 answers
35 views

How do I make a GATT server's read characteristic editable?

Im working on making a GATT server that can be connected to by a client application, that will eventually send data to said client. the way I understand it, is that the only value the client can see ...
Luke D's user avatar
  • 1
0 votes
0 answers
29 views

Xamarin forms element not visible in inspect.exe UI automation tree yet can view properties on hover

So I'm using WinAppDriver to automate the testing of a UWP application written with Xamarin Forms and I am using to inspect.exe to make sure that the AutomationID property is being set properly on all ...
Dominic Costa's user avatar
0 votes
0 answers
32 views

My UWP app crashes on Faulting Module name: Windows.UI.Xaml.dll

My UWP application crashed with no exceptions. Event Log: Windows OS Name: MicroSoft Windows 10 Pro Version: 10.0.19045 Build 19045 Faulting application name: App.Name, version: 1.0.0.0, time stamp: ...
Sena's user avatar
  • 13
0 votes
0 answers
93 views

Accessing system calendar appointments without using system rendered UI

I have been working on including system calendar appointments in my UWP app. If I use appointments uap capability - <uap:Capability Name="appointments"/>, I am able to add events to my ...
Charith's user avatar
0 votes
0 answers
23 views

VS2022 Set Up Dependency on Native DLL for UWP App

I have a UWP app in the works that depends on a native DLL. These are all under my control and in the same Solution. If I try to add a Project Reference to the UWP app referencing the native DLL ...
Brian A. Henning's user avatar
0 votes
2 answers
51 views

Automatic Full-Screen Mode for Windows UWP C++/CX Application

I'm working on a Windows UWP (Universal Windows Platform) C++/CX Application. I would like for this application to be full-screen from the moment that it launches, rather than briefly not full-screen ...
user2279952's user avatar
-1 votes
0 answers
40 views

HoloLens 2 Logging into Entra/AAD Silently Using the OS User Credential in Custom Native UWP App

I'm integrating Teams into an app. I have is working fine on PC in UWP (still trying to figure out 1:1 user VoIP access) but I am having trouble with the AAD authentication. What I really need is ...
Larry Aultman's user avatar
0 votes
0 answers
33 views

HDCP content protection using UWP Miracast API

I am developing a Miracast sink app following the UWP Miracast API documentation that must support content protection using HDCP. Currently, projection of unprotected content works fine. However, the ...
Gabriel Remus's user avatar
0 votes
1 answer
26 views

How to enable UIBC Mouse through UWP Miracast API?

I am developing a Miracast sink app following the UWP Miracast API documentation and managed to get projection with User Input Back Channel (UIBC) for keyboard working. However, the API doesn't seem ...
Gabriel Remus's user avatar
2 votes
1 answer
74 views

HttpClient, implement progress when uploading File

I'm working on a UWP app that uploads files to a server using a custom API method. The file upload itself is functional, but I'm having trouble implementing progress tracking during the upload. I've ...
Mariam Khaled's user avatar
0 votes
0 answers
45 views

SQLite3 database file location for WinRT

I have been struggling for a while now on where I should put some SQLite3 database files that will need read and write access. You can see from my question that I am writing my app in WinRT, and that ...
kerplatz's user avatar
0 votes
0 answers
32 views

How to make UWP can auto collect UUID or GUID?

I create a new UWP project, and then I want it can pair and connect bluetooth device, but every time I try to test my appliaction, it always need me copy and paste UUID or GUID from bluetooth device, ...
xxyyuuu's user avatar
1 vote
1 answer
26 views

UWP - ListView show button when PointerOver ListViewItem

There is a ListView with items that contain Button with visibility set to Collapsed. How to make button visible, when pointer over ListViewItem containing that button? Can it be achieved using ...
Nazarii Krypiak's user avatar
0 votes
1 answer
70 views

UWP and recent versions of .Net (6, 8)

One of the Microsoft technologies is UWP - Universal Windows Platform. It looks like it is still maintained, but it is not based on recent versions of .Net. Does anybody know why? What is the problem ...
Buran's user avatar
  • 137
0 votes
0 answers
18 views

Can I force change the DeviceFamily property in Windows 10, or enable DeviceFamilyOverride?

I searched. Found nothing. Apparently there's this thing called DeviceFamilyOverride but I can't find that either. Google Bard and ChatGPT lie, you can't find the DeviceFamily key in the registry. Any ...
MaskNinja's user avatar
0 votes
0 answers
32 views

style variable inside the language sources (UWP app C#)

I have this value in my source file in C# app, Is there a way to set custom style to the variable without break the string into multi strings <data name="Document_Deleted_Notification_Intro&...
Mariam Khaled's user avatar
0 votes
0 answers
15 views

UWP API Client throws ObjectDisposedException in response.Content and returns partial data

I have a UWP client which sends a POST request to a ASP Core Server to request data from a database. The request returns a success code 200, but the deserialized data is incomplete, and by checking ...
pft1's user avatar
  • 11
2 votes
1 answer
39 views

How to use VisualStateManager.GoToState() in Grid

How do use GoToState when the VSM is within a Grid? This code works with an AdaptiveTrigger but not with GoToState. GoToState requires you to input a class inheriting from Control but if you pass ...
DTynewydd's user avatar
  • 370
0 votes
0 answers
18 views

Application missing common mitigation techniques checked using Binscope UWP VAPT

In my VAPT report the following checkpoint got failed for my UWP app. Application missing common mitigation techniques How can I fix the failed checks?
Piumi ganegoda's user avatar
-1 votes
1 answer
42 views

Prevent double clicking on column section from triggering doubletapped event

So I have a ListView with a DoubleTapped event attached to it in .XAML. The problem is that I don't want it to register when I'm double clicking on a column section. Only when double clicking on any ...
RieBi's user avatar
  • 9
0 votes
1 answer
35 views

What is TargetDeviceFamily MinVersion/MaxVersionTested for Windows 11?

If I have Windows 10 running build 19045.3324 then I know the format for the app manifest TargetDeviceFamily MinVersion/MaxVersionTested is 10.0.19045.3324. But if I have Windows 11 running build ...
Paul Masri-Stone's user avatar
0 votes
3 answers
83 views

Can't display UI Element on top of ScrollViewer

I'm struggling to display a UI Element on top a ScrollViewer. This should be pretty straight forward but hasn't been. I would have expected this code to work: <Grid> <Button>A</...
Zev G's user avatar
  • 31
0 votes
0 answers
87 views

Get an IRandomAccessStream for specified byte range of a StorageFile

I'm trying to get an IRandomAccessStream for a specified byte range in a StorageFile, using C++/WinRT in a UWP app. This is in order to respond to partial GET requests with WebView2: ...
AshleysBrain's user avatar
0 votes
0 answers
38 views

Holograms are apperaing in the application window unable to perform interaction and 3D hololgrams

I am trying to build a Hololens 2 application. I am using Unity 2021, MRTK 2.8.3. Before, I was creating applications for my research by cloning my Hololens2 profile, but now there is something openXR-...
umairarif's user avatar
-1 votes
2 answers
69 views

Set Default ComboBox Value in Listview

I have a webview and a combobox inside a listview whose data is fetched from the server. I want the default value of combox to match the string below: string A = "A:C:B:D:E"; XAML: <...
Rose's user avatar
  • 611
1 vote
0 answers
78 views

Unable to push UWP application to Microsoft Store flight

We haven't changed anything to our store-publish@0 task, but pushing a flight to the Microsoft store now returns the following error: Starting: Publish application to Microsoft Store (flight) =========...
Ramon de Klein's user avatar
0 votes
0 answers
50 views

error LNK2005: __NULL_IMPORT_DESCRIPTOR already defined in mincore.lib

I added /WHOLEARCHIVE linker option to my UWP app to make static objects from a static library to be linked to the app: And got the following linker errors: 2>mincore.lib(api-ms-win-core-com-l1-1-...
Alexey Starinsky's user avatar
0 votes
0 answers
43 views

I want to change the default app for a specific protocol ('roblox') to launch multiple Roblox UWP apps on my system

I want to make a tool which will launch multiple roblox uwp apps, but the apps use same protocol 'roblox'. Because I want to have a control of what app I want to launch, so I want to change the ...
Ldopperk's user avatar
1 vote
0 answers
23 views

GStreamer C# UWP through WinRT/C++ doesn't work

I need to stream a live RTSP camera feed in a UWP C# application. After trying other solutions like FFmpegInterop without any success. They all have a lot of delay streaming the video. We came across ...
user1007522's user avatar
  • 7,948
0 votes
0 answers
79 views

UWP - Rich Edit Box throws exception when get or set multi-line text while math mode API is enabled

I have a RichEditBox in UWP. I've enabled math mode API using the following statement. LimitedAccessFeatures.TryUnlockFeature(...); RichEditBox.TextDocument.SetMathMode(RichEditMathMode.MathOnly); ...
Mubarrat Hasan's user avatar
0 votes
0 answers
9 views

Highlight rows in a UWP Telerik RadDataGrid depending on values of a certain column

My datagrid is defined as such in xaml <tg:RadDataGrid x:Name="PartDataGrid" SelectionMode="Single" ItemsSource="{Binding}" AutoGenerateColumns="False"> ...
Nathan Cosbie-Ross's user avatar
-1 votes
1 answer
67 views

WinUI3 ListView InsertionMark functionality with C++/WinRT

Is there a function similar to InsertionMark in WinUI3/UWP? The function should be able to retrieve the place(index) in a ListView where an object is dropped. In this image I'm dragging an item from ...
yonutix's user avatar
  • 2,124
0 votes
1 answer
57 views

Windows App UET SDK in UWP app missing assembly

I've been trying to implement ads tracking with Windows App UET SDK, following the official guide I have a default C# UWP "Blank app, Packaged with Windows Application packaging project (WinUI 3 ...
tereya's user avatar
  • 15
0 votes
0 answers
29 views

Running a windows service as domain user when connectivity to Active Directory is not there?

We have a Windows service running in client machines as an agent which downloads the MSI from the server and install it. One of the MSI is responsible of installing an UWP app to a domain user account,...
Demetron's user avatar
0 votes
0 answers
32 views

Keycloak settingup with with UWP

Is anyone has overcome setting up Keycloak with a UWP application? Tried using nuget package Identitymodel and called the Keycloak using that. But no luck with that. Has anyone tried Keycloak with UWP ...
Thanuj's user avatar
  • 33
0 votes
0 answers
29 views

UWP XAML TreeView with Data Binding: nested items vanish

When using a with Data Binding to my tree, the items are shown nicely, until a change is made to the tree contents. Then, nested items tend to vanish. I have tried UWP TreeView - Update of data ...
J. H.'s user avatar
  • 109
0 votes
1 answer
26 views

Grid ReOrder does not update items not moved

I have a very simple project. One grid mapped to an observable collection (for instance <int, string>. I added can reorder, candrop, candrag. The object is moved fine but only the moved object ...
Pierresa's user avatar
2 votes
1 answer
79 views

Switching D3D12 device in UWP app causes CreateSwapChainForCoreWindow to fail

I have a UWP app which may need to switch between D3D12 devices. For that, I would create a new swap chain by calling CreateSwapChainForCoreWindow. However, this operation fails with E_ACCESSDENIED if ...
Christoph's user avatar
  • 1,984

1
2 3 4 5
447