dotnet --list-sdks did not work
See original GitHub issueMicrosoft Windows [Version 10.0.19043.1320]
(c) Microsoft Corporation. All rights reserved.
C:\Users\donhuvy>dotnet --list-sdks
C:\Users\donhuvy>dotnet
Usage: dotnet [options]
Usage: dotnet [path-to-application]
Options:
-h|--help Display help.
--info Display .NET information.
--list-sdks Display the installed SDKs.
--list-runtimes Display the installed runtimes.
path-to-application:
The path to an application .dll file to execute.
C:\Users\donhuvy>dotnet --info
Host (useful for support):
Version: 6.0.0
Commit: 4822e3c3aa
.NET SDKs installed:
No SDKs were found.
.NET runtimes installed:
Microsoft.AspNetCore.App 3.1.20 [C:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 5.0.11 [C:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.0 [C:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.20 [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.7 [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.11 [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.0 [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.1.20 [C:\Program Files (x86)\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 5.0.7 [C:\Program Files (x86)\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 5.0.11 [C:\Program Files (x86)\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.0 [C:\Program Files (x86)\dotnet\shared\Microsoft.WindowsDesktop.App]
To install additional .NET runtimes or SDKs:
https://aka.ms/dotnet-download
C:\Users\donhuvy>
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
dotnet --list-sdks shows empty although .Net core ...
After recent windows update, my Visual studio 2019 cannot load project, and the error is "The project file cannot be opened.
Read more >c# - .NET SDK's Not Installing Correctly
Now try it out, open a new command prompt or PowerShell, and type dotnet --info . It should tell you that you have...
Read more >Unable to locate the .NET SDK: The Reasons - Hamid Mosalla
Try running dotnet --list-sdks command to see if it lists the sdk. The .Net Sdk Is Installed But it Has Wrong System Type....
Read more >Check installed .NET versions on Windows, Linux, and ...
You can see which versions of the .NET SDK are currently installed with a terminal. Open a terminal and run the following command....
Read more >Why don't any of these methods work for installing .Net ...
sudo apt update sudo apt install dotnet-sdk-6.0. And I got the last version of the SDK: $ dotnet --list-sdks 6.0.400 [/usr/share/dotnet/sdk].
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
But very few people know that. That’s why SO has dozens of threads on this with over 100K views.
Would it be possible to detect the path problem on install and then provide a fwlink to help?
@marcpopMSFT @joeloff or @dsplaisted may know what to do here