Skip to content

Launch an installed package with arguments #2142

@BenJKuhn

Description

@BenJKuhn

Discussed in #2000

Originally posted by MarkIngramUK January 21, 2022
Unless I've missed something, there appears to be 2 APIs available for launching packaged applications:

Launch, but with no arguments
Windows.ApplicationModel.Core.AppListEntry.LaunchAsync

Launch, with arguments
IApplicationActivationManager.ActivateApplication

Will WindowsAppSDK be providing an equivalent Microsoft.ApplicationModel.Core.AppListEntry API? If so, can I suggest that an additional LaunchAsyncWithArgs function is added, so that we can stay within the WindowsAppSDK, without needing to dip into COM (IApplicationActivationManager)?

Related discussion - #81 (comment)

Metadata

Metadata

Assignees

Labels

area-ActivationApp activation in Windows App SDK via AppLifecycle for packaged & unpackaged appsfeature proposal

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions