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
Attempting to run flutter pub run msix:create on a package that has _ characters in the package name errors out.
PS C:\src\flutter-projects\foo_project> flutter pub run msix:create
getting config values.. done!
validate config values..
No certificate was specified, useing test certificate
done!
create icons folder.. done!
copy icons.. done!
create manifest file.. done!
copy VCLibs files.. done!
packing....
Microsoft (R) MakeAppx Tool
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:\src\flutter-projects\foo_project\build\windows\runner\Release\foo_project.msix"
The content directory (/d) parameter is: "\\?\C:\src\flutter-projects\foo_project\build\windows\runner\Release"
Enumerating files from directory "\\?\C:\src\flutter-projects\foo_project\build\windows\runner\Release"
Packing 16 file(s) in "\\?\C:\src\flutter-projects\foo_project\build\windows\runner\Release" (content directory) to "\\?\C:\src\flutter-projects\foo_project\build\windows\runner\Release\foo_project.msix" (output file name).
Using "\\?\C:\src\flutter-projects\foo_project\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
'foo_project' violates pattern constraint of '([A-Za-z][A-Za-z0-9]*)(\.[A-Za-z][A-Za-z0-9]*)*'.
The attribute 'Id' with value 'foo_project' failed to parse.
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.
📜 Pubspec.yaml
name: foo_projectdescription: A new Flutter project.publish_to: 'none'# Remove this line if you wish to publish to pub.devversion: 1.0.0+1environment:
sdk: ^2.11.0-260.0.devflutter: ^1.24.0-6.0.predependencies:
flutter:
sdk: fluttercupertino_icons: ^1.0.0dev_dependencies:
flutter_test:
sdk: fluttermsix: ^0.0.8pedantic: ^1.9.2flutter:
uses-material-design: truemsix_config:
display_name: FooApppublisher_name: FooIncidentity_name: MyCompany.MySuite.FooAppmsix_version: 1.0.0.0# certificate_path: C:/<PathToCertificate>/<MyCertificate.pfx># certificate_password: 1234 (require if using .pfx certificate)certificate_subject: CN=MyName# logo_path: C:\<PathToIcon>\<Logo.png># start_menu_icon_path: C:\<PathToIcon>\<Icon.png># tile_icon_path: C:\<PathToIcon>\<Icon.png># icons_background_color: ffffffarchitecture: x64
The text was updated successfully, but these errors were encountered:
ℹ️ Info
💬 Description
Attempting to run
flutter pub run msix:create
on a package that has _ characters in the package name errors out.📜 Pubspec.yaml
The text was updated successfully, but these errors were encountered: