snippetbashTip
dotnet — Cross platform .NET tools for .NET Core. Some subcommands such as `build` have their own usage docum
Viewed 0 times
commandnetclicrossplatformfortoolsdotnet
Problem
How to use the
dotnet command: 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>.Solution
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 restoreBuild and execute the .NET project in the current directory:
dotnet runRun a packaged dotnet application (only needs the runtime, the rest of the commands require the .NET Core SDK installed):
dotnet {{path/to/application.dll}}Code Snippets
Initialize a new .NET project
dotnet new {{template_short_name}}Restore NuGet packages
dotnet restoreBuild and execute the .NET project in the current directory
dotnet runRun a packaged dotnet application (only needs the runtime, the rest of the commands require the .NET Core SDK installed)
dotnet {{path/to/application.dll}}Context
tldr-pages: common/dotnet
Revisions (0)
No revisions yet.