A Microsoft platform for building and publishing apps for Windows devices.
3,088 questions with Developer technologies | Universal Windows Platform (UWP) tags
Need to launch printing preference from UWP C# app
We are developing UWP application C# to handle printers. We need to open any one of the printer's printing preference page from our application. If we use shellexecute or createprocess to launch the command "rundll32.exe with…
Developer technologies | Universal Windows Platform (UWP)
How to test automatic download of PSA
I need to check the automatic download of beta print support app from MS store when i connect a printer with beta printer extension inf.
Developer technologies | Universal Windows Platform (UWP)
A Microsoft platform for building and publishing apps for Windows devices.
Q about splash screen in UWP app
Hi, In the .appxmanifest of this UWP app the Visual Assets have been set and Generated. The generated splash screen looks like this In spite efforts my efforts so far, it has not been possible to change the size of the image in the center of the splash…
Developer technologies | Universal Windows Platform (UWP)
A Microsoft platform for building and publishing apps for Windows devices.
UWP app throws unhandled exception when installed from .msix package
This is a UWP app with Visual Studio Insiders [11709.129]. When deployed from Visual Studio, started with or without debugging to a Windows 10, an Xbox, or a Windows 11, it runs fine and is passing the tests. However, when the project is published to an…
Developer technologies | Universal Windows Platform (UWP)
A Microsoft platform for building and publishing apps for Windows devices.
Switch the ListView Datatemplate from one data template to another data template?
I am developing Universal Windows 10 app, in one of my current project I want to change the ListView Data Template in runtime. Right now I have used only one Data Template, but in my scenario after a button is pressed, I want to change it to another…
Developer technologies | Universal Windows Platform (UWP)
A Microsoft platform for building and publishing apps for Windows devices.
Setting Textbox.Text from BluetoothLEAdvertisementWatcher's received event throws an exception
I am creating a Bluetooth LE application in C# using a UWP project and have subscribed to get the Received event from the BluetoothLEAdvertisementWatcher. I can see the data correctly using Debug.Writeline to the Output window, but as soon as I try…
Developer technologies | Universal Windows Platform (UWP)
A Microsoft platform for building and publishing apps for Windows devices.
Share a large file between two UWP apps using Stream Sockets
I need to share a large file between two UWP apps which are running in two different machines using stream sockets. In order to share the file successfully, I have to share file size before sharing the actual file. So I had to set a separate event in…
Developer technologies | Universal Windows Platform (UWP)
A Microsoft platform for building and publishing apps for Windows devices.
Covert my app to UWP
I have a console app and I have made some changes to the registry. If I convert to UWP how it can be done and what happen with the registry.
Developer technologies | Universal Windows Platform (UWP)
A Microsoft platform for building and publishing apps for Windows devices.
UWP Performance: Task.Run() vs Background Service
I'm working on a UWP app that is showing videos, images & XAML animations. The content displayed is being updated from time to time by pushing updates from the server to the app through grpc. When updates happen the app will need to download new…
Developer technologies | Universal Windows Platform (UWP)
A Microsoft platform for building and publishing apps for Windows devices.
How to check if an add-on has purchased that use StoreContext class
I have defined a durable AddOn, and when I used RequestPurchaseAsync() method to check if an add-on has purchased or not, it always shows UI which will be annoying to the user. In the previous version I used:…
Developer technologies | Universal Windows Platform (UWP)
A Microsoft platform for building and publishing apps for Windows devices.
Visual Studio Crashing mysteriously because of Data Binding
Hello everybody, I am new to coding in VS and generally to programming C# and Xaml. To give y'all a good overview of my code, i have included all of my Classes and Xaml Files neccessary. I use 2 Pages: a general page displaying all Books, and a Page…
Developer technologies | Universal Windows Platform (UWP)
A Microsoft platform for building and publishing apps for Windows devices.
How to write and read multiple types of data using Data Writer and Data Reader
I need to write a file length, file data and its type as a string value to the stream. I’m using the following code with Data Writer. writer = new DataWriter(socket.OutputStream); // if we have a StorageFile named file using (var…
Developer technologies | Universal Windows Platform (UWP)
A Microsoft platform for building and publishing apps for Windows devices.
Dev Mode Activation Fails — Redirects to Partner Center, No Workspace Access
I signed the NDA and installed the Dev Mode Activation app on my Xbox. When I try to activate Dev Mode, I get “We can’t authorize your console.” The activation link https://aka.ms/activatexbox redirects to Partner Center or shows a 404. I can’t create a…
Developer technologies | Universal Windows Platform (UWP)
A Microsoft platform for building and publishing apps for Windows devices.
Optional Packages Persist After Windows Store App Reset
After resetting a Windows Store app through App Settings, optional packages installed as dependencies continue to persist in the system. These "ghost packages" remain functional and accessible via PackageManager APIs but are not visible in App…
Developer technologies | Universal Windows Platform (UWP)
A Microsoft platform for building and publishing apps for Windows devices.
How to enable Control Flow Guard (CFG) in C# UWP Application
How to enable Control Flow Guard (CFG) in C# UWP Application? I have tried to enable <ControlFlowGuard>Guard</ControlFlowGuard> <UseDotNetNativeToolChain>true</UseDotNetNativeToolChain> in Release | x64 . But it is still not…
Developer technologies | Universal Windows Platform (UWP)
A Microsoft platform for building and publishing apps for Windows devices.
Why i only have 1.3gb to use in Xbox Dev Mode
I understand you can use approximately 5GB of RAM in Xbox Dev Mode, but it only lets me use 1.3GB. screenshot.
Developer technologies | Universal Windows Platform (UWP)
A Microsoft platform for building and publishing apps for Windows devices.
UWP app System.IO.FileLoadException: 'Could not find or load a specific file. (Exception from HRESULT: 0x80131621)'
When I run a UWP app in debugging mode, it always throws this exception at the start: System.IO.FileLoadException HResult=0x80131621 Message=Could not find or load a specific file. (Exception from HRESULT: 0x80131621) Source=System.Private.CoreLib …
Developer technologies | Universal Windows Platform (UWP)
A Microsoft platform for building and publishing apps for Windows devices.
provider.SignInAsync() error from CommunityToolkit.Authentication.Uwp
The following code of a classic UWP app used for OneDrive access worked for a few years without any issues: string[] scopes = new string[] { "Files.ReadWrite.AppFolder" }; ProviderManager.Instance.GlobalProvider = new…
Developer technologies | Universal Windows Platform (UWP)
A Microsoft platform for building and publishing apps for Windows devices.
disabled subscription
"Your account or subscription is disabled for security reasons. We detected suspicious activity or terms of use violations and disabled your subscription to protect the owner of the payment instrument and Microsoft. If you believe this is an error,…
Developer technologies | Universal Windows Platform (UWP)
A Microsoft platform for building and publishing apps for Windows devices.
Windows.Data.Pdf does not render correctly with
The PDF file attached contains text using the following fonts: It is renderer correctly in various applications (firefox, edge, adobe acrobat): however when I render it in my app using Windows.Data.Pdf library, the text isn't correctly displayed: Is…
Developer technologies | Universal Windows Platform (UWP)
A Microsoft platform for building and publishing apps for Windows devices.