Skip to content

.NET: add support for passing arguments to mobile apps at launch #14845

@rolfbjarne

Description

@rolfbjarne

Currently we don't honor arguments like this for mobile apps (iOS, tvOS):

dotnet run project.csproj -- arg1 arg2

We should look into fixing this.

This means getting these arguments from the build somehow, and converting them into mlaunch arguments (--argument=arg1 --argument=arg2).

It should also be possible to do the same thing for dotnet build /t:Run (maybe by setting a new property?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    dotnetAn issue or pull request related to .NET (6)featureA feature to be implemented

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions