Skip to content

dotnet run no longer passes additional arguments to application (2.0.0-preview1-005619) #1118

@mikeharder

Description

@mikeharder

Repro Steps

  1. Install .NET SDK 2.0.0-preview1-005619
  2. dotnet new console
  3. Edit Program.cs and add Console.WriteLine(args.Length)
  4. dotnet restore
  5. dotnet run -- foo
Expected: 1
Actual: 0

Looking at the process tree, I can see that dotnet run is not passing the arguments to dotnet exec.

Doesn't repro on previous build 2.0.0-preview1-005488.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions