The dotnet CLI
The .NET Command-Line Interface (CLI) is a cross-platform tool for developing, building, running, and publishing .NET applications.
Core Commands
Section titled “Core Commands”| Command | Purpose |
|---|---|
dotnet new | Create project from template |
dotnet build | Compile the project |
dotnet run | Build and execute |
dotnet test | Run unit tests |
dotnet publish | Create deployable output |
Command Structure
Section titled “Command Structure”dotnet [command] [arguments] [options]Related Topics
Section titled “Related Topics”- 1.4.1 dotnet new create project from template
- 1.4.2 dotnet build compile
- 1.4.3 dotnet run build and execute
- 1.4.4 dotnet test run unit tests
- 1.4.5 dotnet publish create deployable output