Windows dotnet ps1 script doesn't install system wide in Program Files\dotnet #44409
Labels
doc-enhancement
Improve the current content [org][type][category]
dotnet-fundamentals/svc
install/subsvc
🗺️ reQUEST
Triggers an issue to be imported into Quest.
Type of issue
Other (describe below)
Description
The page has incorrect information about the install path for dotnet 8.
From this bug report, the ps1 installs to the local user only, e.g. C:\Users\username\AppData\Local\Microsoft\dotnet\dotnet.exe
dotnet/install-scripts#17
There is no option to install it for all users at Program Files\dotnet
But this documentation page describes the location as Program Files\dotnet
https://learn.microsoft.com/en-us/dotnet/core/install/windows#install-with-powershell
If we look under the section "No .NET SDK was found", it claims the PATH should be to Program Files\dotnet, but we won't find .NET8 there.
After I installed .NET8 using the above power shell script, it was installed to local user, rather than Program Files.
After above power shell install, it doesn't work in cmd.exe or cygwin.
So when I ran on cmd.exe, I don't get .NET8:
Same on cygwin:
Page URL
https://learn.microsoft.com/en-us/dotnet/core/install/windows
Content source URL
https://github.com/dotnet/docs/blob/main/docs/core/install/windows.md
Document Version Independent Id
d11d0d14-8a03-50e4-5c00-9a4417ad4d0a
Article author
@adegeo
Metadata
Related Issues
The text was updated successfully, but these errors were encountered: