当我在 Rider (net core) 中按下运行按钮时,它运行以下命令:
/usr/local/share/dotnet/dotnet /pathtomyproject/myproject.dll
但是我需要使用参数“watch”运行项目,如果我在 Rider Edit Configurations 的参数中编写此命令,则会出现错误:
Unhandled Exception: System.FormatException: Unrecognized argument format: 'watch'.
我知道使用 watch tool is 运行dotnet watch run
,我也知道我可以在终端中运行该命令。
我的问题是,当我按下运行按钮时,是否可以将 Rider 配置为以这种方式运行?或者......也许 Rider 有一个我不知道的编辑和继续功能?