Can you confirm that you installed the .NET SDK and VS Code as instructed in step 1 of the Download section?
If so, can you try the following:
Restart VS Code
Check if you can run the command on a standalone PowerShell or command prompt window outside of VS Code. If it works outside VS Code, try restarting your computer.
URL
https://dotnet.microsoft.com/zh-cn/learn/dotnet/hello-world-tutorial/create
Operating system
windows
More information about your system
x86
Description
dotnet --info
root@DESKTOP-NB6VOO2:~# dotnet --info Error: [/usr/lib/dotnet/host/fxr] does not exist