Skip to content

Application cannot consume arguments provided in .appref-ms activation #236

@NikolaMilosavljevic

Description

@NikolaMilosavljevic

For Clickonce deployed .NET FX applications, it is possible to activate the application via .appref-ms file and supply additional arguments, like %userprofile%\Desktop\MyApp.appref-ms arg1,arg2,arg3

.NET FX application would obtain those arguments using AppDomain.CurrentDomain.SetupInformation.ActivationArguments.ActivationData[0]

This experience is not possible in ClickOnce deployed .NET (Core) apps. It is likely due to the use of Launcher, which has access to those arguments, but is not passing them to the app.

See #53 (comment) for more info.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions