dotnet run
The dotnet command that restores, builds and then starts a project in one step.
In more detail
It is the quickest loop while developing: restore packages, compile to intermediate language, launch the result. A clean build prints nothing of its own, so only your program's output reaches the terminal.
Example
dotnet runRelated terms
- dotnet CLI — The dotnet command-line tool that creates, restores, builds, runs, tests and publishes .NET projects.
- dotnet build — The dotnet command that compiles a project or solution and its dependencies into assemblies.
- dotnet restore — The dotnet command that downloads the NuGet packages a project depends on and records the resolved dependency graph.
Taught in
- What is .NET? Runtime vs SDK, and LTS vs STS — Modern .NET Core, C# & Enterprise Microservices