dotnet / dotnet/command-line-api

Does not allow arguments that start with the '@' character

Open
#1,625 21 comments 1 reaction 1 assignee Claimed by @adamsitnik View on GitHub
Area-Documentation need investigation
Dominant language
C#
Stars
3.7k
Forks
428
PR merge metrics
No merged PRs in 30d

Description

```
static void Main(string param1, string param2)
{
Console.WriteLine($"Parameters Param1={param1}, Param2={param2}");
}
```

Fails when invoking the app from command line with a parameter that starts with the "@" character

```
C:\MyApp.exe --param1 Hello --param2 @World

Response file not found 'World'
Required argument missing for option: --param2
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.