uwp

UWP: how to start an exe file that is located in specific directory?

寵の児 提交于 2019-12-18 13:34:37
问题 I am trying to start an exe that is located in C:/Program Files (x86)/App from UWP app. How can I do this. I can start exe file by using Windows Desktop extension for UWP, add Hide Copy Code <Extensions> <desktop:Extension Category="windows.fullTrustProcess" Executable="Assets\app.exe" /> </Extensions> to Package.appmanifest and call this await FullTrustProcessLauncher.LaunchFullTrustProcessForCurrentAppAsync(); in main class. But I need to add app.exe to Assets directory of project My

Why is UWP 10 development so slow?

自作多情 提交于 2019-12-18 12:52:51
问题 Does anyone else there have any issues with a very sluggish development experience in VS 2015 writing apps for the Universal Windows Platform 10? Compiling, debugging, even switching between windows is painfully slow compared to working with a similar, basic WPF application. I have not been able to find any mention of this experience on Google, which leads me to wonder if there's something in my setup that is throwing a monkey wrench into UWP dev. Has anyone experienced this, or know of any

How to use WCF services in Windows 10 Universal App?

廉价感情. 提交于 2019-12-18 12:30:31
问题 My Windows 8.1 app uses WCF services. I need to port my app to Windows 10 UWP app. But cannot add service reference. This message appears when I add a service reference: Data service client code-generation failed. Specified Windows Store Framework '.NETCore,Version=v5.0' is not supported. Only .NETCore 4.5 and above is supported. How to solve my problem? 回答1: Thank you for @gregkalapos 1. Create Windows 8.1 Portable class library 2. Choose like this 3. Add Service Reference to newly created

Delete NoUIEntryPoints-DesignMode packages

允我心安 提交于 2019-12-18 10:19:32
问题 When uninstalling programs I see hundreds of packages with the name "NoUIEntryPoints-DesignMode". As a result of my research I have recognized if you debug an UWP-App which registers a file extension it will create this package and the system is not able to delete it. How can I delete them all? At the moment the "Apps & Features"-Page looks like this: 回答1: You can use the following PowerShell command: Get-AppxPackage -Publisher "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S

Unzipping throws an “The underlying compression routine could not be loaded correctly”

ぃ、小莉子 提交于 2019-12-18 09:37:07
问题 Trying to unzip a file on Win10 mobile (UWP) with the following code using (ZipArchive archive = new ZipArchive(stream, ZipArchiveMode.Read)) { ZipArchiveEntry entry = archive.Entries.First(); using (Stream reader = entry.Open()) { throws at entry.Open() the following error. "The underlying compression routine could not be loaded correctly." with the inner exception "Unable to load DLL 'clrcompression.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)"

windows IoT core on screen keyboard

╄→гoц情女王★ 提交于 2019-12-18 09:32:00
问题 Have the latest releases to Windows IoT included an On Screen Keyboard? I am aware of other suggestions that use the webview to provide a keyboard, but I would prefer an OSK for my UWP app. Ideally internationalised. 回答1: On Screen Keyboard is not mentioned in the latest release 14931, so the answer is no at the moment. Part of the reason for this is that we don’t have a ‘shell’ like explorer that is there helping control what app is running or providing other services such as SIP / OSK as is

[UWP/MVVM]Enable/Disable Button in RadDataGrid Data Template Column that have commands bound to them upon conditions

旧时模样 提交于 2019-12-18 09:31:38
问题 I have set a bool property and have bound it to the IsEnabled in the xaml but the ICommand CanExecute method overrides the IsEnabled in xaml, so my bool property is ineffective. When I define the conditions within the CanExecute method in the view model, It either disables all buttons in which the method is bound to, or enables all of them. Its a grid that displays 3 different buttons for each row, and each button goes to a new xaml screen. If there is no data for the particular condition on

Timetrigger not firing backgroundtask UWP

心不动则不痛 提交于 2019-12-18 09:23:12
问题 I have the same problem as this guy over here: UWP Timetrigger not working but I can't comment the question because my reputation is not high enough, so I'm creating a new question. As I said, I have the same problem. I registered the background task, but nothing happens. My background task is located in a seperate project (Runtime Component). So that's not the problem. This is the method I made to register the task: public static BackgroundTaskRegistration Register(string name, string

Bitmap class not found in UWP windows 10

試著忘記壹切 提交于 2019-12-18 09:06:06
问题 I am developing an image processing app for windows 10. I have searched online related to the image processing. I have found many resources that use Bitmap class for manipulating images. But in uwp, there is no such class exists. When I try to use it in my code, it says Generate Bitmap class. Is there any alternative to this class in uwp? Or I am missing any reference of Bitmap class? 回答1: I was developing an app not so long ago that needed the features of the Bitmap class. I sadly realized

UWP ECDSP Signature

巧了我就是萌 提交于 2019-12-18 07:23:12
问题 I want to make a ECDSA signature with this code : AsymmetricKeyAlgorithmProvider objAsymmAlgProv = AsymmetricKeyAlgorithmProvider.OpenAlgorithm(AsymmetricAlgorithmNames.EcdsaSha256); CryptographicKey keypair = objAsymmAlgProv.CreateKeyPairWithCurveName(EccCurveNames.SecP256r1); BinaryStringEncoding encoding = BinaryStringEncoding.Utf8; buffMsg = CryptographicBuffer.ConvertStringToBinary("Test Message", encoding); IBuffer buffSIG = CryptographicEngine.Sign(keypair, buffMsg); byte []