dotnet build
Build a .NET application and its dependencies. More information: https://learn.microsoft.com/dotnet/core/tools/dotnet-build.
- Compile the project or solution in the current directory:
dotnet build
- Compile a .NET project or solution in debug mode:
dotnet build
- Compile in release mode:
dotnet build
- Compile without restoring dependencies:
dotnet build --no-restore
- Compile with a specific verbosity level:
dotnet build
- Compile for a specific runtime:
dotnet build
- Specify the output directory:
dotnet build
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
