Skip to content

Stable AppId via ComputeAppId() #6325

@DominicMaas

Description

@DominicMaas

I was wondering if it's possible to somehow generate stable AppIds or override the AppId to something stable (for unpackaged apps)?

My Scenario:

Single Instance App, works perfectly fine when installed on machine, problem occurs when I try to run a portable version of my app for example (or launching from Visual Studio when the machine version is installed and running). Since the app exes are in separate locations, they gain separate AppIds, and instance redirecting no longer works.

This has caught us out a few times when debugging things internally, and we've also observed in the wild users with multiple instances of our app running at the same time (usually by doing weird things to their machine - but it would be nice to handle this regardless).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions