Incomplete .NET SDK 5.0.301 installations
See original GitHub issueMy System
- Windows 10 Pro Build 19043.1081
- Processor: Intel i7-4810MQ
This started when I uninstalled Visual Studio 2019 v16.10 and its .NET workloads, a week ago.
The .NET SDK 5.0.204 somehow keeps installing itself. I have removed it regularly for 3days, until I found that uninstalling it from the installer doesn’t remove all it’s files and is still accessible through dotnet cmd in the terminal. So, I manually removed C:/Program Files/dotnet
and a .NET installer which probably came through Windows update. This stopped it.
Yesterday, I tried installing .NET SDK 5.0.301 through the installer, at a different location by specifying DOTNETHOME
env variables. But, It installs itself in the Default C:/Program Files
directory and not accessible through dotnet cmd. So, I reinstalled it
multiple times for the sake of installing it at a different location and also normally. Still it installs at the same default path and dotnet cmd won’t work because the installer is only copying toolset, targeting pack and some other, but not Runtime and SDK files.
So, The 2 issues are:
DOTNETHOME
environment variables doesn’t seem to work- There’s something that prevents 5.0.301 installer from copying all the files
Repairing through installer fixes the 2nd problem as it then copies all the sdk files. and .NET SDK 6preview5 is installing fine.
Just reporting it, In case anyone who has similar issue might find this.
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (4 by maintainers)
Top GitHub Comments
Thanks, I’ll take a look. Hopefully we’ll have some clues
Anything about this? I would like to install the SDK at a different location