diff --git a/docs/standard/commandline/get-started-tutorial.md b/docs/standard/commandline/get-started-tutorial.md index 38e1df67c6e1a..6e5f6e4ef8655 100644 --- a/docs/standard/commandline/get-started-tutorial.md +++ b/docs/standard/commandline/get-started-tutorial.md @@ -93,9 +93,11 @@ You can use any of the following ways to test while developing a command-line ap * Use `dotnet run` and pass option values to the app instead of to the `run` command by including them after `--`, as in the following example: ```dotnetcli - dotnet run -- --file scl.runtimeconfig.json + dotnet run -- --file bin/Debug/net6.0/scl.runtimeconfig.json ``` +The working directory is the project folder (the folder that has the .csproj file), so the relative path to `scl.runtimeconfig.json` is from the project folder. + In .NET 7.0.100 SDK Preview, you can use the `commandLineArgs` of a *launchSettings.json* file by running the command `dotnet run --launch-profile `. * [Publish the project to a folder](../../core/tutorials/publishing-with-visual-studio-code.md), open a command prompt to that folder, and run the executable: