dotnet / dotnet/command-line-api

How to allow for starting using URI protocol activation?

Open
#1,810 1 comment 0 reactions 0 assignees View on GitHub
question
Dominant language
C#
Stars
3.7k
Forks
428
PR merge metrics
No merged PRs in 30d

Description

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/

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.