You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the msix:create command fails to complete building the msix installer with the below error:
'Shortcut Keeper' violates pattern constraint of '([A-Za-z][A-Za-z0-9]*)(\.[A-Za-z][A-Za-z0-9]*)*'.
The attribute 'Id' with value 'Shortcut Keeper' failed to parse.
msix:create full error output:
$ flutter pub run msix:create
☑ parsing cli arguments
☑ validating config values
☑ cleaning temporary files
☑ copying assets folder
☑ creating app icons folder
☑ copying app icons
☑ copying VC libraries
☑ generate appx manifest
☑ generate PRI file
[❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚❚] 75% packing..
Microsoft (R) MakeAppx Tool
Copyright (C) 2013 Microsoft. All rights reserved.
Option /v specified, switching to verbose output.
Option /o specified, existing files will be overwritten.
Using default hash method: SHA256.
The path (/p) parameter is: "\\?\C:\Users\whipl\Desktop\Flutter Projects\shortcut_keeper\build\windows\runner\Release\shortcut_keeper.msix"
The content directory (/d) parameter is: "\\?\C:\Users\whipl\Desktop\Flutter Projects\shortcut_keeper\build\windows\runner\Release"
Enumerating files from directory "\\?\C:\Users\whipl\Desktop\Flutter Projects\shortcut_keeper\build\windows\runner\Release"
Packing 1085 file(s) in "\\?\C:\Users\whipl\Desktop\Flutter Projects\shortcut_keeper\build\windows\runner\Release" (content directory) to "\\?\C:\Users\whipl\Desktop\Flutter Projects\shortcut_keeper\build\windows\runner\Release\shortcut_keeper.msix" (output file name).
Memory limit defaulting to 16878350336 bytes.
Using "\\?\C:\Users\whipl\Desktop\Flutter Projects\shortcut_keeper\build\windows\runner\Release\AppxManifest.xml" as the manifest for the package.
MakeAppx : error: Failure at appxFactory->CreateManifestReader(manifestStream, &manifestReader) - 0x80080204 - The specified package format is not valid: The package manifest is not valid.
MakeAppx : error: Error info: /*[local-name()="Package" and namespace-uri()="http://schemas.microsoft.com/appx/manifest/foundation/windows10"]/*[local-name()="Applications" and namespace-uri()="http://schemas.microsoft.com/appx/manifest/foundation/windows10"][1]/*[local-name()="Application" and namespace-uri()="http://schemas.microsoft.com/appx/manifest/foundation/windows10"][1]/@Id
'Shortcut Keeper' violates pattern constraint of '([A-Za-z][A-Za-z0-9]*)(\.[A-Za-z][A-Za-z0-9]*)*'.
The attribute 'Id' with value 'Shortcut Keeper' failed to parse.
Cleaning up output file "\\?\C:\Users\whipl\Desktop\Flutter Projects\shortcut_keeper\build\windows\runner\Release\shortcut_keeper.msix".
MakeAppx : error: Failure at (CreatePackage( overwrite, hashAlgorithm, fileList, outputPath, manifestStream.Get(), forceCompressionNone, performanceOptions, encryptPackage, encryptionOptions, cgmPath, mainPackagePathForResourceExemption, makepriExeFullPath)) - 0x80080204 - The specified package format is not valid: The package manifest is not valid.
MakeAppx : error: Package creation failed.
MakeAppx : error: 0x80080204 - The specified package format is not valid: The package manifest is not valid.
pub finished with exit code -1
I have previously been successful in using msix to build this specific app with the exact same settings multiple times.
Version: 2.6.4
Running the
msix:create
command fails to complete building the msix installer with the below error:msix:create full error output:
I have previously been successful in using
msix
to build this specific app with the exact same settings multiple times.Pubspec.yaml:
The text was updated successfully, but these errors were encountered: