bjorkstromm / depends

Tool for generating dependency trees for .NET projects
MIT License
537 stars 41 forks source link

Cannot invoke tool: No Executable found matching command "dotnet-depends" #11

Open tafs7 opened 5 years ago

tafs7 commented 5 years ago

I have installed the tool globally using: dotnet tool install -g dotnet-depends

When I try to run it pointed at my .csproj file, I get an error message: No executable found matching command "dotnet-depends"

Here's a screenshot of the command line listing the installed tool (globally) and the error:

image

I have the following installed .NET Core SDK and Runtime versions:

C:\>dotnet --info 
.NET Core SDK (reflecting any global.json):
 Version: 2.2.301
 Commit:70d6be0814

Runtime Environment: 
 OS Name: Windows
 OS Version:10.0.18362
 OS Platform: Windows
 RID: win10-x64
 Base Path: C:\Program Files\dotnet\sdk\2.2.301\

Host (useful for support):
 Version: 2.2.6
 Commit:7dac9b1b51

.NET Core SDKs installed: 
 2.1.701 [C:\Program Files\dotnet\sdk] 
 2.2.301 [C:\Program Files\dotnet\sdk] 

.NET Core runtimes installed: 
 Microsoft.AspNetCore.All 2.1.12 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All] 
 Microsoft.AspNetCore.All 2.2.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
 Microsoft.AspNetCore.App 2.1.12 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
 Microsoft.AspNetCore.App 2.2.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
 Microsoft.NETCore.App 2.1.12 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
 Microsoft.NETCore.App 2.2.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
bjorkstromm commented 4 years ago

Might be similar to https://github.com/dotnet/cli/issues/9396