Skip to content

[WASM] Use manifest.json for PackageId.Version #6420

Description

What would you like to be added:

If the app has a manifest.json, we should use its version property (if it is defined) for PackageId.Version as opposed to Assembly version.

Why is this needed:

To verify running application version

For which Platform:

  • [ x] iOS
  • [ x] Android
  • [ x] WebAssembly
  • [ x] WebAssembly renderers for Xamarin.Forms
  • [ x] macOS
  • [ x] Skia
    • [x ] WPF
    • [ x] GTK (Linux)
    • [ x] Tizen
  • [ x] Windows
  • Build tasks
  • Solution Templates

Anything else we need to know?

It seems like an odd thing to not be implemented.

Activity

  1. ghost added
    difficulty/tbd
    on Jul 7, 2021
  2. ghost added
    kind/enhancement
    on Jul 7, 2021
  3. ghost added
    triage/untriaged
    on Jul 7, 2021
  4. added
    difficulty/medium 🤔
    and removed
    difficulty/tbd
    on Jul 8, 2021
  5. MartinZikmund commented on Jul 8, 2021

    @MartinZikmund
    Member

    @GRS-Leedo this is surely implementable, the only question is where should the version be coming from. For Android, iOS, UWP, the package version is part of the application manifest. For the web, would you consider the version in manifest.json to be the right one to show up there?

  6. changed the title [-]Implement Windows.ApplicationModel.PackageId.Version[/-] [+]Implement `PackageId.Version`[/+] on Jul 10, 2023
  7. MartinZikmund commented on Jul 10, 2023

    @MartinZikmund
    Member

    This is now implemented by #12596 on all platforms, but on WASM it uses assembly version

  8. changed the title [-]Implement `PackageId.Version`[/-] [+][WASM] Use `manifest.json` for `PackageId.Version`[/+] on Jul 10, 2023
  9. added
    platform/wasm 🌐
    project/non-ui ⚙️
    good first issue
    and removed
    triage/untriaged
    on Jul 10, 2023
  10. github-actions commented on Jul 31, 2025

    @github-actions
    Contributor

    Hey there — just a heads-up that this issue has been quiet for over a year. If there’s no update or comment in the next 10 days, it’ll be closed automatically. Feel free to remove the stale label or drop a note to keep it open.

  11. added
    stale
    on Jul 31, 2025
  12. MartinZikmund commented on Jul 31, 2025

    @MartinZikmund
    Member

    Still relevant

  13. removed
    stale
    on Jul 31, 2025
  14. MartinZikmund commented on Apr 8, 2026

    @MartinZikmund
    Member

    Repro generator

    This issue was classified as not reproducible with a code sample or test.

    Reason: WASM-specific enhancement for manifest.json PackageId.Version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    difficulty/medium 🤔good first issuekind/enhancementno-reproplatform/wasm 🌐project/non-ui ⚙️

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions