mirror of https://github.com/CrimsonTome/tldr.git
20 lines
424 B
Markdown
20 lines
424 B
Markdown
|
# dotnet
|
||
|
|
||
|
> Cross platform .NET command line tools for .NET Core.
|
||
|
|
||
|
- 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}}`
|