Skip to content

Add support for URL parameters #53

@NikolaMilosavljevic

Description

@NikolaMilosavljevic

It would be valuable if .NET 5 applications, deployed by ClickOnce, could gain access to URL parameters, specified by the user in the app activation URL.

.NET FX applications could use ApplicationDeployment class to obtain URL parameters: https://docs.microsoft.com/en-us/dotnet/api/system.deployment.application.applicationdeployment.activationuri?view=netframework-4.8

This method is not available to .NET 5 applications as ApplicationDeployment class does not exist.

However, Launcher is a .NET FX application and has access to ActivationUri property.

One solution is for Launcher to obtain URL parameters and persist them to a Json file that would be read by .NET 5 application. This would follow the proposed solution for the similar issue: #27

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions