3,087 questions with Developer technologies | Universal Windows Platform (UWP) tags
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.
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β¦
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β¦
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β¦
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β¦
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β¦
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.
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β¦
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:β¦
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β¦
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β¦
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β¦
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β¦
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β¦
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.
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 β¦
Error APPX1204 Creating App Package for upload to MS Store
This is happening with Visual Studio Insiders [11709.129] with a UWP XBox targeted app. The app has been successfully side-loaded and tested on Dev-mode XBox. Creating the App Package produces this error: Failed to sign <filename.msix>. SignToolβ¦
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β¦
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,β¦
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β¦
