dotnet / dotnet/sdk

`dotnet tool exec` needs to support the `--tool-manifest` flag

Open
#51,885 0 comments 0 reactions 1 assignee Claimed by @dsplaisted View on GitHub
Area-Tools untriaged
Dominant language
C#
Stars
3.2k
Forks
1.3k
PR merge metrics
PR metrics pending

Description

`tool exec` supports using tool manifests to supply the 'version` component of a tool package that is directly invoked - but this only works if the tool manifest is relative to the current working directory.

The `--tool-manifest` option is used on the other `dotnet tool` commands to allow explicit specification of the manifest for just this reason - `exec` should support it too.

This was discovered by @afscrome in https://github.com/dotnet/aspire/issues/13077#issuecomment-3572490877.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.