microsoft / microsoft/WindowsAppSDK
Launch an installed package with arguments
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 4.7k
- Forks
- 471
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 28
Description
### Discussed in https://github.com/microsoft/WindowsAppSDK/discussions/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](https://docs.microsoft.com/en-us/uwp/api/windows.applicationmodel.core.applistentry.launchasync?view=winrt-22000)
Launch, with arguments
[IApplicationActivationManager.ActivateApplication](https://docs.microsoft.com/en-us/windows/win32/api/shobjidl_core/nf-shobjidl_core-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 - https://github.com/microsoft/WindowsAppSDK/issues/81#issuecomment-645661927
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.