desktop-bridge

Desktop App Converter -PackageName Error

百般思念 提交于 2020-01-03 04:58:09
问题 I am trying to convert my app for the windows store using Desktop App Converter. If I set the -PackageName option to the Package/Identity/Name given in the dashboard, Desktop App Converter stops with a write error for -PackageName. But if I put -PackageName to the display name that I want, when I submit the appx file to the windows store I get: Invalid package identity name: and Invalid package family name: *update My Pakage/Identity/name takes the form 1234MyApp.MyApp. If I leave out the

UWP app does not copy file to AppData folder

时光毁灭记忆、已成空白 提交于 2020-01-03 03:23:12
问题 I made a C# executable which make a test folder and copy test.txt file from it's execution folder to AppData folder. Here is my code: static void Main() { string fullPath = $"{Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)}\\test"; string destination = $"{fullPath}\\test.txt"; Directory.CreateDirectory(fullPath); string location = System.Reflection.Assembly.GetExecutingAssembly().Location; int index = location.LastIndexOf("\\"); string source = $"{location.Substring(0,

Desktop App Converter -PackageName E_MANIFEST_USE_DEFAULT_VALUE_FAILED

混江龙づ霸主 提交于 2019-12-31 06:51:15
问题 I am trying to convert my app to an appx using Desktop App Converter. I am trying to use my Package/Identity/Name from the Microsoft store dashboard in the form of -PackageName "1234Myapp.Andthistoo". Desktop App Converter will not take it.It keeps coming back with a write error. From my searches I have been under the impression that the -PackageName category can not start with a number and it can not contain a period which my Package/Identity/Name contains both. It fails with this message:

Send speech recognition args.Result as parameter in UWP desktop-bridge package

余生长醉 提交于 2019-12-29 07:05:02
问题 I'm trying to figure out, if it is possible send using Windows.Media.SpeechRecognition; args.Result.Text as parameter from UWP to Console application. For example by following scenario I'm sending TextToSpeech(args.Result.Text); with args.Result.Text; value, where using Windows.Media.SpeechSynthesis; text-to-speech pronounces the recognition result each time when args.Result.Text; appears. textBlock2.Text = args.Result.Text; also displays result: private async void

Could not load file or assembly 'System.Private.CoreLib…'

岁酱吖の 提交于 2019-12-28 19:28:20
问题 I have a Xamarin.Forms app which targets .net standard 1.4. On the UWP app which has minimum version 14393 (and targets 16299) I get the following exception from the Microsoft Store (though on my computer it runs fine even from the appxbundle file): Note the main points: The error occurs on Xamarin.Forms.Forms.Init(e); in OnLaunched . The error itself is Could not load file or assembly 'System.Private.CoreLib...' . System.IO.FileNotFoundException: Could not load file or assembly 'System

Using Windows Desktop App Converter, Is it possible to start with Windows?

别来无恙 提交于 2019-12-24 08:23:05
问题 I have used Windows Desktop App Converter to convert my WPF app to a store app. It all works apart from my "start with windows" feature. The way I was solving this was to create a shortcut in the "C:\Users\%%USER%%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup" directory to my app but it seems like this method doesn't work any more (the shortcut doesn't appear). So how does one go about getting your app to launch on windows boot any more? Cheers, Mike 回答1: So how does one go

VS2017 15.4 Preview “Windows Application Packaging Project” tool failed to generate a working app

不想你离开。 提交于 2019-12-23 05:02:23
问题 I added the new "Windows Application Packaging Project" that comes with vs2017 15.4 preview. When adding my project to the "Applications" and debugging the packaging project I have the following error: System.IO.FileNotFoundException: 'Could not load file or assembly 'System.Runtime, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.' InnerException: FileNotFoundException: Could not load file or assembly

Packaging WinForms application along with native DLL

微笑、不失礼 提交于 2019-12-23 02:13:10
问题 Trying to figure out how to package the following solution with Visual Studio 2017 Desktop Bridge (Application Packaging Project): .NET Library DLL. WinForms executable referencing 1. Native C++ DLL exporting some functions used by 1 and 2 with [DllImport]. I added project 2 to Applications section of a package and buit it. In the target folder I have EXE (from project 2) and DLL (from project 1). And the question is: how to correctly add the project 3 (native c++ library) to a package? I

Delphi FireMonkey - Setting Wallpaper on Win 10 does not work when deployed as APPX

回眸只為那壹抹淺笑 提交于 2019-12-22 18:43:13
问题 I have created a simple application using Delphi 10.2 Tokyo (using FireMonkey) that displays images and allows you to set the desktop wallpaper for a selected image. The main code that sets the desktop wallpaper is: class procedure TUtilityWin.SetWallpaper(AFileName: String); begin SystemParametersInfo(SPI_SETDESKWALLPAPER, 0, pChar(AFileName), (SPIF_UPDATEINIFILE OR SPIF_SENDWININICHANGE)); end; While this works great when the application runs on the desktop (as a standalone install), it

Delphi FireMonkey - Setting Wallpaper on Win 10 does not work when deployed as APPX

时间秒杀一切 提交于 2019-12-22 18:43:12
问题 I have created a simple application using Delphi 10.2 Tokyo (using FireMonkey) that displays images and allows you to set the desktop wallpaper for a selected image. The main code that sets the desktop wallpaper is: class procedure TUtilityWin.SetWallpaper(AFileName: String); begin SystemParametersInfo(SPI_SETDESKWALLPAPER, 0, pChar(AFileName), (SPIF_UPDATEINIFILE OR SPIF_SENDWININICHANGE)); end; While this works great when the application runs on the desktop (as a standalone install), it