Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for launching apps using the command line from Windows #16609

Open
rolfbjarne opened this issue Nov 7, 2022 · 0 comments
Open

Add support for launching apps using the command line from Windows #16609

rolfbjarne opened this issue Nov 7, 2022 · 0 comments
Labels
feature A feature to be implemented windows-only The issue only occur on Windows
Projects
Milestone

Comments

@rolfbjarne
Copy link
Member

Launching an app from the command line from Windows doesn't work at the moment.

We should look into figuring out how to do this.

One complexity is that .NET handles "dotnet run" by doing something like executing "$RunCommand $RunArguments" (we can't execute a custom target).

One idea around this would be to just execute dotnet again and specify the custom target (which would remote to the the Mac), so something like this:

RunCommand="dotnet"
RunArgumens="build /t:ExecuteMlaunch '/p:MlaunchArguments=$RunArguments'"
@rolfbjarne rolfbjarne added the feature A feature to be implemented label Nov 7, 2022
@rolfbjarne rolfbjarne added this to the .NET 8 milestone Nov 7, 2022
@rolfbjarne rolfbjarne added this to Other in .NET 8 - Themes Nov 7, 2022
rolfbjarne added a commit to rolfbjarne/xamarin-macios that referenced this issue Nov 7, 2022
rolfbjarne added a commit that referenced this issue Nov 8, 2022
@rolfbjarne rolfbjarne added the windows-only The issue only occur on Windows label Sep 6, 2023
@rolfbjarne rolfbjarne removed this from Other in .NET 8 - Themes Sep 6, 2023
@rolfbjarne rolfbjarne modified the milestones: .NET 8, .NET 9 Sep 6, 2023
@rolfbjarne rolfbjarne added this to Other in .NET 9 Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A feature to be implemented windows-only The issue only occur on Windows
Projects
.NET 9
Other
Development

No branches or pull requests

1 participant