Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] get Microsoft Partner MSIX upload error: Apps are not allowed to have a Version with a revision number other than zero specified in the app manifest. The package yourapp.msix specifies 1.1.1.1. #296

Open
DktPhl2019 opened this issue Feb 1, 2025 · 1 comment

Comments

@DktPhl2019
Copy link

Using Windows 11 and Android Studio Ladybug | 2024.2.1 Patch 3, in the terminal, I type:

flutter clean
then, click pub get
then, type: dart run msix:create

This generates msix file under the build folder in my project.

There is no app manifest generated.

When I upload the msix into Microsoft Store, then I get the error: Apps are not allowed to have a Version with a revision number other than zero specified in the app manifest. The package MyApp.msix specifies 1.1.1.1.

I cannot find the app manifest file anywhere in my app folder.

Could you please tell me what I am doing wrong.

PUBSPEC.YAML

version: 1.1.1+0

msix_config:
display_name: MyApp
publisher_display_name: DMITRI KOZLOV
identity_name: DMITRIKOZLOV.MyApp
publisher: CN=generated number from Microsoft Store app Details
msix_version: 1.1.1.1
store: true

dev_dependencies:
flutter_test:
sdk: flutter

flutter_lints: ^5.0.0
path: ^1.9.0
intl: ^0.19.0
path_provider: ^2.1.5
collection: ^1.18.0
adaptive_theme: ^3.7.0
msix: ^3.16.8

@DktPhl2019
Copy link
Author

The App Manifest file should have all the app info.

First, I don't know how to create App Manifest file and how to populate the App Manifest file with all the required information.

I've read that it is generated automatically using the build under build windows folder, but I don't see it.

Once I have MSIX and the App Manifest, I don't know how to bundle it together.

I think I need to create .msixbundle file.

The problem is that I need to use Visual Studio to generate this bundle file.

I cannot open MSIX file in Visual Studio.

If I try to create the app package manually, then Microsoft Help says: "Note that MakeAppx.exe does not create an app package upload file (.appxupload or .msixupload), which is the recommended type of valid app package for submissions to Partner Center. The app package upload file is typically created as part of the Visual Studio packaging process, although it can also be created manually."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant