fernandoescolar / vscode-solution-explorer

This is a Visual Studio Code extension that provides a (.sln) Visual Studio Solution explorer panel..
MIT License
352 stars 73 forks source link

Add local dotnet tools management #249

Closed badsyntax closed 1 year ago

badsyntax commented 1 year ago

Fixes #248

Overview

Installation of local tools requires a local manifest file to exist, else you'll get the following error:

❯ dotnet tool install --local "Cake.Tool" --version "3.0.0"
Cannot find a manifest file.
For a list of locations searched, specify the "-d" option before the tool name.
If you intended to install a global tool, add `--global` to the command.
If you would like to create a manifest, use `dotnet new tool-manifest`, usually in the repo root directory.

I decided to not manage this in the extension as it's obvious to the user what needs to be done to resolve the error.

Screencast

https://user-images.githubusercontent.com/102141/208436622-99f869e2-7fd5-435e-bffc-cb36eb9e1721.mov

badsyntax commented 1 year ago

In hindsight, i don't think it's appropriate for this feature to land in this extension, and local tools are not really related to the solution. I will instead create a new extension for this feature.