У меня есть настольное приложение и вы хотите преобразовать его в приложение uwp. Я использую конвертер настольных приложений с powershell. Я пытаюсь преобразовать мой запуска проектов ехе, но каждый раз, когда я пытаюсь выполнение останавливается наНастольное приложение для UWP с использованием Desktop App Converter
Running Installer in Isolated Environment
VERBOSE: No installer valid exit codes specified. Using defaults: 0 VERBOSE: Replace any occurence of in -InstallerArguments with C:\installer\logs VERBOSE: Running installer command in isolated environment: VERBOSE: Command Line = "C:\installer\X.Framework.Main.exe" /passive
части. Является ли exe я пытаюсь преобразовать неправильно или -InstallerArgument я пишу? Что я должен изменить, чтобы закончить преобразование успешно? Команда
Мои PowerShell:
PS C:\Users\EccE\Desktop\convert> .\DesktopAppConverter.ps1 -Installer C:\Users\EccE\Desktop\X\X-wpf-framework\bin\Debug\X.Framework.Main.exe -InstallerArguments "/passive" -Destination C:\Users\EccE\Desktop\X\X-out\ -PackageName "XApp" -Publisher "CN=X" -Version 0.0.0.1 -MakeAppx -Verbose
Edit:
Когда я попытался преобразовать проектное решение я получил следующее сообщение об ошибке:
Running Installer in Isolated Environment
VERBOSE: No installer valid exit codes specified. Using defaults: 0 VERBOSE: Replace any occurence of in -InstallerArguments with C:\installer\logs VERBOSE: Running installer command in isolated environment: VERBOSE: Command Line = "C:\installer\X.Framework.sln" /passive VERBOSE: Moving any logs in C:\DesktopAppConverter\e931cac0-58a1-46dc-9efd-f5f442a0d814\shared\logs to C:\DesktopAppConverter\e931cac0-58a1-46dc-9efd-f5f442a0d814\logs VERBOSE: Cleaning up by removing isolated environment shared folder 'C:\DesktopAppConverter\e931cac0-58a1-46dc-9efd-f5f442a0d814\shared' VERBOSE: An error occurred. Refer to logs in C:\DesktopAppConverter\e931cac0-58a1-46dc-9efd-f5f442a0d814\logs Exception calling "RunIsolatedProcessWithMappedDirectoryAndExport" with "6" argument(s): " geçerli bir Win32 uygulaması değil. (HRESULT özel durum döndürdü: 0x800700C1)" At C:\Users\EccE\Desktop\convert\converter_util\Sequencer.ps1:141 char:9 + $installerExitCode = [Microsoft.Centennial.Tools.DesktopAppCo ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [], MethodInvocationException + FullyQualifiedErrorId : BadImageFormatException