dotnet-run
Run a .NET application without explicit compile or launch commands. tldr-pages
On several platforms
Several platforms
Run the project in the current directory
dotnet runIdentifyRun a specific project
dotnet run --project path/to/file.csprojIdentifyRun the project with specific arguments
dotnet run -- arg1=foo arg2=bar ...IdentifyRun the project using a target framework moniker
dotnet run --framework net7.0IdentifySpecify architecture and OS, available since .NET 6 (Don't use --runtime with these options)
dotnet run --arch x86 --os winIdentify