Hi Don (and thanks for all the info you shared here),
I did try a .NET installer, but it only said that .NET is already installed.
But I did manage to solve this, without (clean) reinstalling and without the 20H1 insider build. I am not sure which step(s) solved it, but here is what I did (I will also include my initial steps that lead to the problem):
- Join Release Preview ring, and update 1809 to 1903 build 18362.113. Everything worked here.
- Few days later (yesterday) CU to 18362.116 came. Installed it, rebooted, and BOOM, .NET was gone.
- Here I tried installing .NET using the Windows Features window, did not help. Also tried installing .NET from installer, it said .NET is already installed.
- Reverted to previous build (1809), from where I started. .NET was still broken, although some things worked, but not everything, PowerShell and Visual Studio were broken.
- I exited Windows Insider builds at this point.
- I turned .NET off in Windows Features, rebooted, turned it back on again. This did not solve the problem, and I was still in a partially functional .NET situation (I think 3.5 worked and 4.x was broken).
- I downloaded from MSDN an ISO with 1903, double clicked that (mounted to a drive), double clicked setup.exe and proceeded to do an in place upgrade, keeping apps and settings. I am on Windows 10 Pro, and I donwloaded an ISO for en_ culture, that was tagged (consumer versions).
- This lasted a record long time, several hours, before it completed.
- I ended up with 18362.30. But .NET was working again, and in fact now I had different entries in the Windows Features dialog than before (Don mentioned a working version and a non working version, I had the working one now).
- Windows Update found a CU that brought me up to 18362.53. As I am no longer on the release preview branch, it does not find any more updates at the moment. .NET is still working.
So now I am on 1903, although a bit dated build, and no more builds are coming for the time being. .NET is working. But I feel this situation is a bit volatile, because I have no idea what fixed this for me, or what caused it in the first place.
I tweeted this thread and the Feedback Hub issue to MS yesterday, plus asked my colleague who is a Regional Director if he could ping someone from MS with these information. Hopefully someone somewhere notices!
Curious that this problem seemed to have broken the previous Windows version as well, which is something I never encountered before. Usually reverting means I get my computer working again.
I am suspecting that by opting to install from an ISO, it did not try to reuse things from my current install (to save bandwidth by not downloading everything) and instead installed everything from the ISO. But at this point this is just a theory.