dotnet-build
Build a .NET application and its dependencies. tldr-pages
On several platforms
Several platforms
Compile the project or solution in the current directory
dotnet buildIdentifyCompile a .NET project or solution in debug mode
dotnet build path/to/project_or_solutionIdentifyCompile in release mode
dotnet build --configuration ReleaseIdentifyCompile without restoring dependencies
dotnet build --no-restoreIdentifyCompile with a specific verbosity level
dotnet build --verbosity quietIdentifyCompile for a specific runtime
dotnet build --runtime runtime_identifierIdentifySpecify the output directory
dotnet build --output path/to/directoryIdentify