tldr/pages/common/dotnet.md

21 lines
492 B
Markdown
Raw Normal View History

2017-10-29 16:26:14 +03:00
# dotnet
> Cross platform .NET command line tools for .NET Core.
2019-06-08 03:04:00 +03:00
> More information: <https://docs.microsoft.com/dotnet/core/tools>.
2017-10-29 16:26:14 +03:00
- 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}}`