.NET 5 CLI libman tool not working when installed locally

1.6k views Asked by At

So I am attempting to install the libman CLI tool for .NET 5.0 (locally) with:

dotnet new tool-manifest
dotnet tool install Microsoft.Web.LibraryManager.Cli --version 2.1.113
dotnet tool restore

which appears to work, The dotnet-tools.json gets updated as expected and I can see the locally installed nuget package.

However, running either:

libman

or:

dotnet libman

fails specifying "the command could not be found".

Any ideas why this wouldn't work like any other dotnet CLI tool? I do not want to install libman globally, but I do want to be able to run libman init, libman install, etc. within the context of the local solution.

0

There are 0 answers