-
Notifications
You must be signed in to change notification settings - Fork 10k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installed .NET 6.0 SDKs not showing with dotnet --info
or dotnet --list-sdks
#38332
Comments
@adrianwright109 thanks for contacting us. @dotnet/aspnet-build any thoughts? /cc: @Pilchie |
I have since found this is a The fix is to change the order of the
|
For others coming to this with a similar issue but the Ensure you installed the correct version (x64 vs x86) of the SDK In my instance I mistakenly clicked the x86 download link and didn't realize it. I figured that out by swapping the order of the PATH variables so the x86 instance came first, which resulted in the .NET 6 SDK being the only one listed. |
There is no such dotnet.exe found in Environment Variables Windows 10 Pro Microsoft Visual Studio Community 2022 (64-bit) |
I have installed this version of the 6.0 runtime on a Windows Server 2016: dotnet-runtime-6.0.0-win-x64.exe as noted by @mickelsonmichael When running at the command line, I get the same errors:
You can resolve the problem by installing the specified framework and/or SDK. The specified framework can be found at: C:\Program Files\MyCompany\MyApp>dotnet --info Host (useful for support): .NET SDKs installed: .NET runtimes installed: To install additional .NET runtimes or SDKs: C:\Program Files\MyCompany\MyApp>` |
@DanielD you have correctly installed the 6.0.0 version of Microsoft.NETCore.App but apparently do not have the Microsoft.AspNetCore.App runtime for that version. The https://aka.ms/dotnet-core-applaunch?framework=Microsoft.AspNetCore.App&framework_version=6.0.0&arch=x64&rid=win10-x64 link (under "Run server apps") will get you the missing piece. |
Hi,
I'm not sure if this is the correct repo for this issue, so please transfer to the appropriate team as necessary.
I've just installed Visual Studio 2022 using the VS installer to my Windows 10 machine.
I have installed 2 versions, "Current"
17.0.0
and "Preview"17.1.0 Preview 1.0
.I selected the "ASP.NET and web development" workload for both installs and kept all the default components that the workload has configured.
When I run
dotnet --info
ordotnet --list-sdks
from the command line I was expecting to see 2 SDKs listed, the GA release SDK for .NET 6.0 and the Preview SDK for .NET 6.0.Actual output is that both the commands show no SDKs installed, which doesn't seem correct?
If I look in Windows at what SDKs are installs it list this:
Shouldn't this SDK be listed when running
dotnet --info
ordotnet --list-sdks
from the command line?Further technical details
17.0.0
and17.1.0 Preview 1.0
dotnet --info Output
The text was updated successfully, but these errors were encountered: