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:

DesktopAppConverter : error 'E_MANIFEST_SET_PROPERTY_FAILED': Property 'Package.Identity.Name' in AppxManifest.xml could not be set to the value '123MyApps.MyAppsproject' given for parameter -'PackageName'. Please visit: 'https://aka.ms/idname' for more info on the Data type requirements for the property. At line:1 char:1 + &'C:\Program Files\WindowsApps\Microsoft.DesktopAppConverter_1.0.9.0_ ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,DesktopAppConverter.ps1

When I got to the identity information page it says:

Identity Name = A string between 3 and 50 characters in length that consists of alpha-numeric, period, and dash characters.

I can not see what I am doing wrong

来源:https://stackoverflow.com/questions/43009587/desktop-app-converter-packagename-e-manifest-use-default-value-failed

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!