Skip to content

How to allow for starting using URI protocol activation? #1810

Open
@hansmbakker

Description

@hansmbakker

With URI protocol activation, the URI of the (custom) protocol will be passed as the first argument on the command line, like this:

myapp.exe myscheme://90413064-fa7f-4750-afa6-2f34047042ca

How can we best support this in parallel to supporting commands set using System.CommandLine, like

myapp.exe mycommand --myoption

https://docs.microsoft.com/en-us/windows/win32/shell/app-registration
https://blog.magnusmontin.net/2019/05/10/handle-protocol-activation-and-redirection-in-packaged-apps/

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions