dotnet / sdk

Core functionality needed to create .NET Core projects, that is shared between Visual Studio and CLI

Home Page:https://dot.net/core

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

With .NET 6.0.2xx, dotnet tool could not list installed tools

WenJunJi01 opened this issue · comments

Environment: .NET 6 SDK: 6.0.200-preview.21608.1(runtime-6.0.0)

Repro steps:

  1. Install .NET 6: 6.0.200-preview.21573.3 on a clean windows OS.
  2. Run below commands:
    dotnet tool install -g dotnetsay
    dotnet tool list -g
  3. Observe

Expected Result:
Tool dotnetsay should be listed.

Actual Result:
Dotnet tool could not list installed tools.
image

Note:
It is also repro on Linux.

Dotnet info:
.NET SDK (reflecting any global.json):
Version: 6.0.200-preview.21608.1
Commit: 38a6121

Runtime Environment:
OS Name: Windows
OS Version: 10.0.22000
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\6.0.200-preview.21608.1\

Host (useful for support):
Version: 6.0.0
Commit: 4822e3c3aa

.NET SDKs installed:
6.0.200-preview.21608.1 [C:\Program Files\dotnet\sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 6.0.0 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

To install additional .NET runtimes or SDKs:
https://aka.ms/dotnet-download

This issue can not be reproduced on Val 17.1 Preview 3 with inserted 6.0.200-preview.21617.4 and .NET 6 SDK:6.0.200-preview.21623.6 from https://github.com/dotnet/installer, so close it.
image