CLI

dotnet run

Runs the existing matching Debug build without building or restoring. Rebuild after edits or the old compiled code may run. Use from the reviewed project directory.

Formal Syntax & Structure

csharp syntaxcsharp
dotnet run -c Debug --no-build --no-restore

Working Example

Example Snippetcsharp
dotnet run -c Debug --no-build --no-restore
C# & .NET Reference