1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-05 16:55:23 +02:00
tldr/pages/common/dotnet.md
Managor 4b1e0196d1
common/*: reduce usage of "command-line" (part 3) (#16951)
Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Wiktor Perskawiec <wiktor@perskawiec.cc>
2025-06-28 13:12:44 +00:00

21 lines
551 B
Markdown

# dotnet
> Cross platform .NET tools for .NET Core.
> Some subcommands such as `build` have their own usage documentation.
> More information: <https://learn.microsoft.com/dotnet/core/tools>.
- Initialize a new .NET project:
`dotnet new {{template_short_name}}`
- 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 {{path/to/application.dll}}`