Make 'dotnet tool restore' Automatic
See original GitHub issueBefore I run a tool (e.g. dotnet cake) from my dotnet tool manifest file (shown below), I have to remember to run dotnet tool restore
first.
{
"version": 1,
"isRoot": true,
"tools": {
"cake.tool": {
"version": "0.36.0",
"commands": [
"dotnet-cake"
]
}
}
}
Similar to how dotnet build
now automatically runs dotnet restore
for you, can running dotnet cake
also run dotnet tool restore
for me?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:56
- Comments:5
Top Results From Across the Web
dotnet tool restore command - .NET CLI
The dotnet tool restore command installs on your machine the .NET local tools that are in scope for the current directory.
Read more >Run "dotnet tool restore" to make the "dotnet-ef" command ...
Run "dotnet tool restore" to make the "dotnet-ef" command available ; Step 1: Go to the folder where your .sln file is. ;...
Read more >.NET Core 3 Local Tools
NET Core Local Tools introduced in 3.0, contrasting the new way ... Run "dotnet tool restore" to make the "dotnet-cake" command available.
Read more >Dotnet restore vs nuget restore. Share. In my code repo, there
Dotnet restore vs nuget restore. Share. In my code repo, there is nuget. config and PackageReference. The solution we found includes two parts:...
Read more >Install as .NET tool - Introduction to SpecSync for Azure DevOps
This can be performed using the dotnet tool restore command, that restores all .NET local tools of the project. See more information about...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This feels like a simple but effective usability improvement since dotnet already knows that a restore is needed:
Run "dotnet tool restore" to make the "fake" command available.
It would allow us to remove what feels like an unnecessary extra instruction for users of the SAFE Template.
please add support for this feature