让我们使用以下代码来模拟该问题.
class Program
{
static void Main(string[] args)
{
foreach (var arg in args)
{
Console.WriteLine(arg);
}
}
}
我想使用dotnet watch -c release -- hello world
,但输出是:
-c
release
hello
world
预期输出:
hello
world
正确的语法是什么?