-
Notifications
You must be signed in to change notification settings - Fork 6k
Open
Labels
⌚ Not TriagedNot triagedNot triaged
Description
Proposed topic or title
We need new conceptual docs on dotnet tool exec
and dnx
in 10.0.100-preview.6
Location in table of contents.
No response
Reason for the article
dotnet tool exec
(or the simpler-to-use dnx
) is a one-shot tool invocation mode similar to npx
, where the SDK will download the tool immediately before execution if necessary. We need to document how to use this mode, and how it differs from the existing global and local tool installation modes.
Article abstract
- how to use it (
dnx <package name>[@<package-version>]
) - how it works
- downloads package to nuget cache and invokes it without modifying PATH
- how it interacts with local tools
- if the tool is in your local tool config, uses the version from there. otherwise gets latest (or the version specified on the command line)
Reference implementation PR is dotnet/sdk#49329, with a design doc at dotnet/designs#334
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
- ID: f4b2a63e-0503-04b7-672b-886bd5a53ca7
- Version Independent ID: bc507481-9677-c4bf-ba3c-ffc6d1022522
- Platform ID: d7a9fa23-37cb-e50a-056e-417d78bebfd5
- Content: dotnet tool run command - .NET CLI
- Content Source: docs/core/tools/dotnet-tool-run.md
- Service: dotnet-fundamentals
- GitHub Login: @tdykstra
- Microsoft Alias: tdykstra
Frulfump
Metadata
Metadata
Assignees
Labels
⌚ Not TriagedNot triagedNot triaged