问题
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