Desktop App Converter Microsoft Store 验证错误

Desktop App Converter Microsoft Store validation errors

我通过 PowerShell 使用 DesktopAppConverter 创建 "appx" 文件格式。

我就是这样做的:

DesktopAppConverter.exe -Installer C:\Users\Mark\Desktop\input\ -AppExecutable MPA.exe -Destination C:\Users\Mark\Desktop\output -PackageName "1005Mark" -AppId "MobilePayAlerts" -Publisher "CN=Verylong-ID-HERE" -Version 1.0.0.0 -Makeappx -Verbose -Sign

所以这是我在上传 appx 文件时遇到的错误:"Package acceptance validation error: The PublisherDisplayName element in the app manifest of 1005Mark.appx is Verylong-ID-HERE, which doesn't match your publisher display name: Mark."

但是如果我将 -Publisher 参数更改为 Mark 我会收到以下错误:

我认为 PulisherDisplayName 元素是由可选参数 PackagePublisherDisplayName 设置的,这与 Publisher.

不同

你能试试这个命令吗?:

DesktopAppConverter.exe -Installer C:\Users\Mark\Desktop\input\ -AppExecutable MPA.exe -Destination C:\Users\Mark\Desktop\output -PackageName "1005Mark" -AppId "MobilePayAlerts" -Publisher "CN=Verylong-ID-HERE" -PackagePublisherDisplayName "Mark" -Version 1.0.0.0 -Makeappx -Verbose -Sign