mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-23 16:51:47 +00:00
Update cheatsheets
This commit is contained in:
26
dotnet
Normal file
26
dotnet
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# dotnet
|
||||
|
||||
> Cross platform .NET command-line tools for .NET Core.
|
||||
> Some subcommands such as `dotnet 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}}`
|
||||
Reference in New Issue
Block a user