docs
docs copied to clipboard
Document the `--create-manifest-if-needed` flag on `dotnet tool install`
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:
- The first
.git-directory-containing directory found from the dir the command was issued - The first
.slnor.git-file-containing directory found from the dir the command was issued - 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