[Hosting] Extensions should not require LaunchActivatedEventArgs
#2222
Labels
kind/bug
Something isn't working
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Current behavior
Currently builder requires
LaunchActivatedEventArgs
, which means it is unusable if the app is launched via any non-launch path - e.g.OnActivated
via protocol activation or jumplist (in these casesOnLaunched
never executes). Instead, it should either be possible to initialize the host without any arguments (it seems to me that it does not even use them currently?) or provide alternatives, e.g.IActivatedEventArgs
Expected behavior
Should be possible to use with
OnActivated
execution path.How to reproduce it (as minimally and precisely as possible)
Environment
Nuget Package (s):
Package Version(s):
Affected platform(s):
All
Visual Studio:
Relevant plugins:
Anything else we need to know?
The text was updated successfully, but these errors were encountered: