Skip to content

Options controlling run behavior #24848

@rolfbjarne

Description

@rolfbjarne

We should add support for the following MSBuild properties to control how 'dotnet run' behaves:

  • WaitForExit: if 'dotnet run' should return when the app is launched, or wait for the app to exit before returning.
  • StandardOutputPath: a path to where stdout from the app is written to. If WaitForExit=true, this will be stdout by default.
  • StandardErrorPath: same for stderr.

Metadata

Metadata

Assignees

Labels

featureA feature to be implemented
No fields configured for Feature.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions