dotnet
Cross platform .NET tools for .NET Core. Some subcommands such as
buildhave their own usage documentation. More information: https://learn.microsoft.com/dotnet/core/tools.
- Initialize a new .NET project:
dotnet new
- Restore NuGet packages:
dotnet restore
- Build and execute the .NET project in the current directory:
dotnet run
- Run a packaged dotnet application (only needs the runtime, the rest of the commands require the .NET Core SDK installed):
dotnet
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
