docs
docs copied to clipboard
dotnet run example don't work
Type of issue
Code doesn't work
Description
In the chapter Test the app, it say you can test the app with the command dotnet run -- --file scl.runtimeconfig.json
executed from a shell in the project directory.
But with dotnet run
, the working directory is the project directory, so the file scl.runtimeconfig.json isn't found and the execution fail.
The working command is :
dotnet run -- --file bin/Debug/net6.0/scl.runtimeconfig.json/scl.runtimeconfig.json
I suggest to modify the command and add a short explanation why this path. If you agree, I can do the PR.
Page URL
https://learn.microsoft.com/en-us/dotnet/standard/commandline/get-started-tutorial
Content source URL
https://github.com/dotnet/docs/blob/main/docs/standard/commandline/get-started-tutorial.md
Document Version Independent Id
fa160b1d-66ed-8c5d-37cd-b7e02443e9f1
Article author
@tdykstra
Metadata
- ID: 7705dc41-7297-0807-7e9c-2e6548c26b84
- Service: dotnet-fundamentals