About this tag
The onactivated tag covers the OnActivated event in Universal Windows Apps (UWAs), which is used to handle activation from command-line arguments. This feature, introduced in Windows 10 build 16226, allows developers to activate a UWA from the command line and pass arbitrary arguments. To implement it, you add an appExecutionAlias extension to the app manifest and override the OnActivated method to process incoming arguments. This capability helps bridge the gap between Win32 and UWA development, enabling more flexible app launching and argument handling. The tag is relevant for Windows developers working with UWP and command-line activation scenarios.
-
Command-Line Activation of Universal Windows Apps
As we continue to close the gap between Win32 and Universal Windows Apps, one of the features we’ve recently introduced is the ability to activate a UWA from a command line and pass the app arbitrary command-line arguments. This is available to Insiders from build 16226. This feature builds on...- News
- Thread
- activation app execution alias arguments build 16226 command line commandlineactivatedeventargs currentdirectorypath debugging desktop bridge entry point executable insider manifest onactivated parsedcommands start page uwa windows 10 windows apps
- Replies: 0
- Forum: Live RSS Feeds