docs icon indicating copy to clipboard operation
docs copied to clipboard

Document the `--create-manifest-if-needed` flag on `dotnet tool install`

Open baronfel opened this issue 1 year ago • 0 comments

Type of issue

Missing information

Description

In https://github.com/dotnet/sdk/pull/31231 we implemented a flag on dotnet tool install that would allow from-scratch tool installs to automatically create the required manifest file.

The manifest file and .config directory (final pattern: .config/dotnet-tools.json) will be created in the first directory that matches the following algorithm:

  1. The first .git-directory-containing directory found from the dir the command was issued
  2. The first .sln or .git-file-containing directory found from the dir the command was issued
  3. Use the current working directory

Page URL

https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-tool-install

Content source URL

https://github.com/dotnet/docs/blob/main/docs/core/tools/dotnet-tool-install.md

Document Version Independent Id

80822879-4c2e-1c28-ae04-1adb5e7e8a99

Article author

@tdykstra

Metadata

  • ID: 7df78c19-0c6f-fe28-213c-b51dd73398ef
  • Service: dotnet-fundamentals

Associated WorkItem - 214648

baronfel avatar Feb 20 '24 18:02 baronfel